mac80211: avoid transmitting delBA to old AP
When roaming while we have active BA session, we can end up transmitting delBA frames to the old AP while we're already on the new AP's channel, which can cause warnings. Simply avoid sending those frames, but still tear down the internal session state, since they are not really necessary anyway as we will implicitly disassociate when sending the association to the new AP. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Acked-by: Luis R. Rodriguez <lrodriguez@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
committed by
John W. Linville
parent
845d708e62
commit
53f73c09d6
@@ -1221,7 +1221,7 @@ int ieee80211_reconfig(struct ieee80211_local *local)
|
||||
mutex_lock(&local->sta_mtx);
|
||||
|
||||
list_for_each_entry(sta, &local->sta_list, list) {
|
||||
ieee80211_sta_tear_down_BA_sessions(sta);
|
||||
ieee80211_sta_tear_down_BA_sessions(sta, true);
|
||||
clear_sta_flags(sta, WLAN_STA_BLOCK_BA);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user