diff options
| author | Edhar, Mahesh Kumar <c_medhar@qti.qualcomm.com> | 2015-09-23 16:03:40 +0530 |
|---|---|---|
| committer | Anjaneedevi Kapparapu <akappa@codeaurora.org> | 2015-09-30 16:36:31 +0530 |
| commit | 4f287378c7a5dd3ca1cf00ed5998cb04dda5ac77 (patch) | |
| tree | 35d9f37db0d84d6f7202f4185aaf5440943f5d77 | |
| parent | 72de30e536cc0369cd8edb593916feb705f4b708 (diff) | |
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
| -rw-r--r-- | CORE/MAC/src/pe/lim/limLinkMonitoringAlgo.c | 1 |
1 files changed, 1 insertions, 0 deletions
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() ***/ |
