diff options
| author | Rajeev Kumar <rajekuma@qca.qualcomm.com> | 2014-03-16 17:12:14 -0700 |
|---|---|---|
| committer | Akash Patel <c_akashp@qca.qualcomm.com> | 2014-03-18 22:20:31 -0700 |
| commit | 9e543e2ece9ded91b748ff00977414816629366b (patch) | |
| tree | 2868b2f69720fa5ccd65b0dcd35e9e38e89ff0d8 | |
| parent | 25495deaacddb0ef87f4c860288e103532d0ce70 (diff) | |
qcacld: Fix of PNO scan rejection from CSR
csrScanSmeScanResponse is rejecting PNO scan scan result
if there is a eSmeCommandRemainOnChannel command is added
in smeScanCmdActiveList
Change-Id: If816f610725bf10a3579e32f1f0a2fad59f962f9
CRs-fixed: 632408
| -rw-r--r-- | CORE/SME/src/csr/csrApiScan.c | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/CORE/SME/src/csr/csrApiScan.c b/CORE/SME/src/csr/csrApiScan.c index b5702aa2cefa..f6185de9e50d 100644 --- a/CORE/SME/src/csr/csrApiScan.c +++ b/CORE/SME/src/csr/csrApiScan.c @@ -5168,22 +5168,29 @@ eHalStatus csrScanSmeScanResponse( tpAniSirGlobal pMac, void *pMsgBuf ) } smeProcessPendingQueue( pMac ); } +#ifdef FEATURE_WLAN_SCAN_PNO + else if (pMac->pnoOffload && !HAL_STATUS_SUCCESS(csrSavePnoScanResults(pMac, pScanRsp))) + { + smsLog( pMac, LOGE, "CSR: Unable to store scan results for PNO" ); + status = eHAL_STATUS_FAILURE; + } +#endif else { - smsLog( pMac, LOGW, "CSR: Scan Completion called but SCAN command is not ACTIVE ..." ); + smsLog( pMac, LOGE, "CSR: Scan Completion called but SCAN command is not ACTIVE ..." ); status = eHAL_STATUS_FAILURE; } } #ifdef FEATURE_WLAN_SCAN_PNO else if (pMac->pnoOffload && !HAL_STATUS_SUCCESS(csrSavePnoScanResults(pMac, pScanRsp))) { - smsLog( pMac, LOGW, "CSR: Unable to store scan results for PNO" ); + smsLog( pMac, LOGE, "CSR: Unable to store scan results for PNO" ); status = eHAL_STATUS_FAILURE; } #endif else if (pMac->pnoOffload == FALSE) { - smsLog( pMac, LOGW, "CSR: Scan Completion called but NO commands are ACTIVE ..." ); + smsLog( pMac, LOGE, "CSR: Scan Completion called but NO commands are ACTIVE ..." ); status = eHAL_STATUS_FAILURE; } |
