mac80211: don't send delBA before disassoc
When we disassociate, it's not really useful to send delBA action frames since we're going to send disassoc/deauth anyway, so change that. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:
parent
2514ec8653
commit
7f1611469b
|
@ -1399,7 +1399,7 @@ static void ieee80211_set_disassoc(struct ieee80211_sub_if_data *sdata,
|
||||||
sta = sta_info_get(sdata, ifmgd->bssid);
|
sta = sta_info_get(sdata, ifmgd->bssid);
|
||||||
if (sta) {
|
if (sta) {
|
||||||
set_sta_flag(sta, WLAN_STA_BLOCK_BA);
|
set_sta_flag(sta, WLAN_STA_BLOCK_BA);
|
||||||
ieee80211_sta_tear_down_BA_sessions(sta, tx);
|
ieee80211_sta_tear_down_BA_sessions(sta, false);
|
||||||
}
|
}
|
||||||
mutex_unlock(&local->sta_mtx);
|
mutex_unlock(&local->sta_mtx);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue