wlan: Pass the proper argument in ccmCfgSetInt.
pMac->hHdd is passed as first argument of ccmCfgSetInt, it should
be pMac Instead.
Change-Id: I541d072f17b18b405320309aa1c4e507edae757e
CRs-Fixed: 751779
diff --git a/CORE/SME/src/csr/csrApiScan.c b/CORE/SME/src/csr/csrApiScan.c
index e23703e..8962ce0 100644
--- a/CORE/SME/src/csr/csrApiScan.c
+++ b/CORE/SME/src/csr/csrApiScan.c
@@ -305,7 +305,7 @@
if(csrIsAnySessionConnected(pMac))
{
//Reset passive scan time as per ini parameter.
- ccmCfgSetInt(pMac->hHdd,WNI_CFG_PASSIVE_MAXIMUM_CHANNEL_TIME,
+ ccmCfgSetInt(pMac, WNI_CFG_PASSIVE_MAXIMUM_CHANNEL_TIME,
pMac->roam.configParam.nPassiveMaxChnTimeConc,
NULL,eANI_BOOLEAN_FALSE);
//If multi-session, use the appropriate default scan times
@@ -332,7 +332,7 @@
//This portion of the code executed if multi-session not supported
//(WLAN_AP_STA_CONCURRENCY not defined) or no multi-session.
//Use the "regular" (non-concurrency) default scan timing.
- ccmCfgSetInt(pMac->hHdd,WNI_CFG_PASSIVE_MAXIMUM_CHANNEL_TIME,
+ ccmCfgSetInt(pMac, WNI_CFG_PASSIVE_MAXIMUM_CHANNEL_TIME,
pMac->roam.configParam.nPassiveMaxChnTime,
NULL,eANI_BOOLEAN_FALSE);
if(pScanRequest->scanType == eSIR_ACTIVE_SCAN)