aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2012-07-18 06:54:46 -0400
committerJohannes Berg <johannes.berg@intel.com>2012-09-21 10:14:14 -0400
commit582bb505b67847600ee27e4cda108bb99a8b6306 (patch)
treec3d5e35b96584008f9f87846a0753d6337e12f62 /net
parent7f1611469b67739df260a6487b2a5e199e8eeba1 (diff)
mac80211: don't send delBA when removing stations
When a station is removed and we stop the aggregation sessions, it's not useful to send delBA since this is due to us or the station disassociating or dropping the connection in some other way, so change that. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net')
-rw-r--r--net/mac80211/sta_info.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/sta_info.c b/net/mac80211/sta_info.c
index 9c8cd8b8f753..797dd36a220d 100644
--- a/net/mac80211/sta_info.c
+++ b/net/mac80211/sta_info.c
@@ -738,7 +738,7 @@ int __must_check __sta_info_destroy(struct sta_info *sta)
738 * will be sufficient. 738 * will be sufficient.
739 */ 739 */
740 set_sta_flag(sta, WLAN_STA_BLOCK_BA); 740 set_sta_flag(sta, WLAN_STA_BLOCK_BA);
741 ieee80211_sta_tear_down_BA_sessions(sta, true); 741 ieee80211_sta_tear_down_BA_sessions(sta, false);
742 742
743 ret = sta_info_hash_del(local, sta); 743 ret = sta_info_hash_del(local, sta);
744 if (ret) 744 if (ret)