summaryrefslogtreecommitdiffstats
path: root/net/mac80211
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2012-07-18 12:53:34 +0200
committerJohannes Berg <johannes.berg@intel.com>2012-09-21 16:14:13 +0200
commit7f1611469b67739df260a6487b2a5e199e8eeba1 (patch)
treed26901be2a2380264aa06f36259337b89501282e /net/mac80211
parentmac80211: fix IBSS auth TX debug message (diff)
downloadlinux-7f1611469b67739df260a6487b2a5e199e8eeba1.tar.xz
linux-7f1611469b67739df260a6487b2a5e199e8eeba1.zip
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>
Diffstat (limited to 'net/mac80211')
-rw-r--r--net/mac80211/mlme.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c
index 2dbd9e1e3583..e714ed8bb198 100644
--- a/net/mac80211/mlme.c
+++ b/net/mac80211/mlme.c
@@ -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);