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
This commit is contained in:
yeshwanth sriram guntuka 2017-03-15 19:33:04 +05:30 • committed by Sandeep Puligilla
commit 951725af99

View file

@ -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,