summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChandrasekaran, Manishekar <cmshekar@qti.qualcomm.com>2014-03-11 04:19:05 +0530
committerAkash Patel <c_akashp@qca.qualcomm.com>2014-03-11 18:03:45 -0700
commitaa8fa0969a26530efa07e86078320331b3f3e2ef (patch)
tree61c65e0f672440fefb9947669f99375722426052
parentad87e61707865caccde691c7e6974b4393a487e9 (diff)
qcacld: Fix for flushing aged scan entries from SME
In the current implementation, the flushing takes into account the state of the interfaces i.e., whether they are connected or not. Due to this,age out is not happening as expected. This fix ensures that the age out logic will kick in if the scan is offloaded Change-Id: If85dd80c15ab3e251bcb22dd3a2ccfb5d6bac209 CRs-Fixed: 627608
-rw-r--r--CORE/SME/src/csr/csrApiScan.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/CORE/SME/src/csr/csrApiScan.c b/CORE/SME/src/csr/csrApiScan.c
index 50f1e20377c4..69da7bd6c508 100644
--- a/CORE/SME/src/csr/csrApiScan.c
+++ b/CORE/SME/src/csr/csrApiScan.c
@@ -6503,9 +6503,10 @@ void csrScanResultAgingTimerHandler(void *pv)
tANI_BOOLEAN fDisconnected = csrIsAllSessionDisconnected(pMac);
//no scan, no aging
- if(pMac->scan.fScanEnable &&
+ if (pMac->scan.fScanEnable &&
(((eANI_BOOLEAN_FALSE == fDisconnected) && pMac->roam.configParam.bgScanInterval)
- || (fDisconnected && (pMac->scan.fCancelIdleScan == eANI_BOOLEAN_FALSE)))
+ || (fDisconnected && (pMac->scan.fCancelIdleScan == eANI_BOOLEAN_FALSE))
+ || (pMac->fScanOffload))
)
{
tListElem *pEntry, *tmpEntry;