From 4f287378c7a5dd3ca1cf00ed5998cb04dda5ac77 Mon Sep 17 00:00:00 2001 From: "Edhar, Mahesh Kumar" Date: Wed, 23 Sep 2015 16:03:40 +0530 Subject: qcacld-2.0: Flush lim scan cache on disconnecting with the AP As per current implementation we avoid flushing lim scan cache before scanning since lim scan cache might also contain candidate AP's that we can roam. Due to this behaviour we end up including BSS entry of AP which we disconnected due to heartbeat failure. Flush lim scan cache during disconnection with AP due to heartbeat failure to avoid sending stale AP entries to the upper layer. Change-Id: Icc7012168f354605435e20acf690cf59076d8788 CRs-Fixed: 913999 --- CORE/MAC/src/pe/lim/limLinkMonitoringAlgo.c | 1 + 1 file changed, 1 insertion(+) diff --git a/CORE/MAC/src/pe/lim/limLinkMonitoringAlgo.c b/CORE/MAC/src/pe/lim/limLinkMonitoringAlgo.c index b83484b93288..c4f1940c20e8 100644 --- a/CORE/MAC/src/pe/lim/limLinkMonitoringAlgo.c +++ b/CORE/MAC/src/pe/lim/limLinkMonitoringAlgo.c @@ -497,6 +497,7 @@ limTearDownLinkWithAp(tpAniSirGlobal pMac, tANI_U8 sessionId, tSirMacReasonCodes limPostSmeMessage(pMac, LIM_MLM_DEAUTH_IND, (tANI_U32 *) &mlmDeauthInd); limSendSmeDeauthInd(pMac, pStaDs, psessionEntry); + limReInitScanResults(pMac); } } /*** limTearDownLinkWithAp() ***/ -- cgit v1.2.3