wlan: Re-init Channel list after SSR.
Currently if SSR happens; 40Mhz and 20Mhz channels are
not being initialized.
Fixing it by calling initialization channel list in case of
re-init.
CRs-fixed: 716748
Change-Id: Ic28331834a71a2ff1505feffd4bab1251493a4a7
diff --git a/CORE/HDD/src/wlan_hdd_early_suspend.c b/CORE/HDD/src/wlan_hdd_early_suspend.c
index 02b13fa..3a424a4 100644
--- a/CORE/HDD/src/wlan_hdd_early_suspend.c
+++ b/CORE/HDD/src/wlan_hdd_early_suspend.c
@@ -2173,6 +2173,14 @@
goto err_vosstop;
}
+ vosStatus = wlan_hdd_init_channels_for_cc(pHddCtx, REINIT);
+ if ( !VOS_IS_STATUS_SUCCESS( vosStatus ) )
+ {
+ hddLog(VOS_TRACE_LEVEL_FATAL, "%s: wlan_hdd_init_channels_for_cc failed",
+ __func__);
+ goto err_vosstop;
+ }
+
#ifdef WLAN_BTAMP_FEATURE
vosStatus = WLANBAP_Open(pVosContext);
if(!VOS_IS_STATUS_SUCCESS(vosStatus))