Browse Source

Merge "qcacld-3.0: Remove bssid from scan cache for HB failure only" into wlan-cld3.driver.lnx.2.0-dev

Service qcabuildsw 8 years ago
parent
commit
c23b4659ce
1 changed files with 1 additions and 1 deletions
  1. 1 1
      core/hdd/src/wlan_hdd_assoc.c

+ 1 - 1
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,