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/SME/src/sme_common/sme_Api.c b/CORE/SME/src/sme_common/sme_Api.c
index b80d6a3..e0d5110 100644
--- a/CORE/SME/src/sme_common/sme_Api.c
+++ b/CORE/SME/src/sme_common/sme_Api.c
@@ -5321,7 +5321,7 @@
FAILURE or RESOURCES The API finished and failed.
--------------------------------------------------------------------------*/
-eHalStatus sme_InitChannelsForCC(tHalHandle hHal)
+eHalStatus sme_InitChannelsForCC(tHalHandle hHal, driver_load_type init)
{
eHalStatus status = eHAL_STATUS_FAILURE;
tpAniSirGlobal pMac = PMAC_STRUCT(hHal);
@@ -5332,7 +5332,7 @@
"%s: pMac is null", __func__);
return status;
}
- status = csrInitChannelsForCC(pMac);
+ status = csrInitChannelsForCC(pMac, init);
return status;
}