From 951725af9959662b858695bc916e160bcd038fce Mon Sep 17 00:00:00 2001 From: yeshwanth sriram guntuka Date: Wed, 15 Mar 2017 19:33:04 +0530 Subject: [PATCH] qcacld-3.0: Remove bssid from scan cache for HB failure only Bssid is removed from scan cache as part of disconnect handler if AP/p2p GO sends deauth or disassoc. Fix is to remove bssid from scan cache only for HB failure. Change-Id: I23476858ab63f7c7ba1e82d897a4e37bb192e472 CRs-Fixed: 2017326 --- core/hdd/src/wlan_hdd_assoc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/hdd/src/wlan_hdd_assoc.c b/core/hdd/src/wlan_hdd_assoc.c index 8775f94c2ce3..5cd65eb10c81 100644 --- a/core/hdd/src/wlan_hdd_assoc.c +++ b/core/hdd/src/wlan_hdd_assoc.c @@ -1694,7 +1694,7 @@ static QDF_STATUS hdd_dis_connect_handler(hdd_adapter_t *pAdapter, /* clear scan cache for Link Lost */ if (pRoamInfo && !pRoamInfo->reasonCode && - (eCSR_ROAM_RESULT_DEAUTH_IND == roamResult)) { + eCSR_ROAM_LOSTLINK == roamStatus) { wlan_hdd_cfg80211_update_bss_list(pAdapter, pHddStaCtx->conn_info.bssId.bytes); sme_remove_bssid_from_scan_list(pHddCtx->hHal,