qcacld-3.0: Remove BSS from scan cache after disconnect
P2P connection is failed because host driver is updating stale BSS entry of P2P go to NL. Remove BSS entry from scan cache irrespective of reason code. Change-Id: I99eb1fd953037bbbd9c1af1147d3656f6ca246c3 CRs-Fixed: 1110752
This commit is contained in:

committed by
snandini

parent
889167d4bf
commit
f0b3058d6a
@@ -1717,7 +1717,8 @@ static QDF_STATUS hdd_dis_connect_handler(hdd_adapter_t *pAdapter,
|
|||||||
hdd_debug("roamResult: %d", roamResult);
|
hdd_debug("roamResult: %d", roamResult);
|
||||||
|
|
||||||
/* clear scan cache for Link Lost */
|
/* clear scan cache for Link Lost */
|
||||||
if (pRoamInfo && !pRoamInfo->reasonCode &&
|
if (eCSR_ROAM_RESULT_DEAUTH_IND == roamResult ||
|
||||||
|
eCSR_ROAM_RESULT_DISASSOC_IND == roamResult ||
|
||||||
eCSR_ROAM_LOSTLINK == roamStatus) {
|
eCSR_ROAM_LOSTLINK == roamStatus) {
|
||||||
wlan_hdd_cfg80211_update_bss_list(pAdapter,
|
wlan_hdd_cfg80211_update_bss_list(pAdapter,
|
||||||
pHddStaCtx->conn_info.bssId.bytes);
|
pHddStaCtx->conn_info.bssId.bytes);
|
||||||
|
Reference in New Issue
Block a user