mac80211: don't send delBA when removing stations
authorJohannes Berg <johannes.berg@intel.com>
Wed, 18 Jul 2012 10:54:46 +0000 (12:54 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 21 Sep 2012 14:14:14 +0000 (16:14 +0200)
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>
net/mac80211/sta_info.c

index 9c8cd8b8f753134c1509b62ca39ce9d0e2469bfe..797dd36a220d92ac549067a9cd4d59a7ebfc09a3 100644 (file)
@@ -738,7 +738,7 @@ int __must_check __sta_info_destroy(struct sta_info *sta)
         * will be sufficient.
         */
        set_sta_flag(sta, WLAN_STA_BLOCK_BA);
-       ieee80211_sta_tear_down_BA_sessions(sta, true);
+       ieee80211_sta_tear_down_BA_sessions(sta, false);
 
        ret = sta_info_hash_del(local, sta);
        if (ret)