Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7f161146 authored by Johannes Berg's avatar Johannes Berg
Browse files

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: default avatarJohannes Berg <johannes.berg@intel.com>
parent 2514ec86
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1399,7 +1399,7 @@ static void ieee80211_set_disassoc(struct ieee80211_sub_if_data *sdata,
	sta = sta_info_get(sdata, ifmgd->bssid);
	if (sta) {
		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);