diff options
| author | yeshwanth sriram guntuka <ysriramg@codeaurora.org> | 2017-03-15 19:33:04 +0530 |
|---|---|---|
| committer | Sandeep Puligilla <spuligil@codeaurora.org> | 2017-03-20 15:18:55 -0700 |
| commit | 9bcf009a205197d3fcea70b4a85fc19c40f8bd6b (patch) | |
| tree | af4756ed8a9b05cc245fad2da11069791d5e3621 | |
| parent | 44375231373de5e3b35884d5823d37da6a698471 (diff) | |
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
| -rw-r--r-- | core/hdd/src/wlan_hdd_assoc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/hdd/src/wlan_hdd_assoc.c b/core/hdd/src/wlan_hdd_assoc.c index dc1ad717c66b..3b48dded2a56 100644 --- a/core/hdd/src/wlan_hdd_assoc.c +++ b/core/hdd/src/wlan_hdd_assoc.c @@ -1633,8 +1633,8 @@ static QDF_STATUS hdd_dis_connect_handler(hdd_adapter_t *pAdapter, hdd_debug("roamResult: %d", roamResult); /* clear scan cache for Link Lost */ - if ((eCSR_ROAM_RESULT_DEAUTH_IND == roamResult || - eCSR_ROAM_RESULT_DISASSOC_IND == roamResult)) { + if (pRoamInfo && !pRoamInfo->reasonCode && + eCSR_ROAM_LOSTLINK == roamStatus) { wlan_hdd_cfg80211_update_bss_list(pAdapter, pHddStaCtx->conn_info.bssId.bytes); sme_remove_bssid_from_scan_list(pHddCtx->hHal, |
