summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorService qcabuildsw <qcabuildsw@localhost>2016-12-22 09:36:25 -0800
committerGerrit - the friendly Code Review server <code-review@localhost>2016-12-22 09:36:25 -0800
commit767b9e53f726856eb6ca893f79111a124807bf95 (patch)
treefdaed7ee6ea6db03a3d1b5eb09f0a50c8d7e2b90
parentbe15ad26c514f3e8b215597a81058407d26808b8 (diff)
parent5f47f1e7a79a0fe74fbd7e331e11e986b2061b81 (diff)
Merge "qcacld-3.0: Remove BSSID from scan cache for link loss due to disaasoc" into wlan-cld3.driver.lnx.1.1-dev
-rw-r--r--core/hdd/src/wlan_hdd_assoc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/hdd/src/wlan_hdd_assoc.c b/core/hdd/src/wlan_hdd_assoc.c
index af913392396c..9adf7d3fc850 100644
--- a/core/hdd/src/wlan_hdd_assoc.c
+++ b/core/hdd/src/wlan_hdd_assoc.c
@@ -1635,7 +1635,8 @@ 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_RESULT_DEAUTH_IND == roamResult ||
+ eCSR_ROAM_RESULT_DISASSOC_IND == roamResult)) {
wlan_hdd_cfg80211_update_bss_list(pAdapter,
pHddStaCtx->conn_info.bssId.bytes);
sme_remove_bssid_from_scan_list(pHddCtx->hHal,