summaryrefslogtreecommitdiff
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
parent2514ec86531481713036081e93a353bbd02e542b (diff)
downloadlinux-3.10-7f1611469b67739df260a6487b2a5e199e8eeba1.tar.gz
linux-3.10-7f1611469b67739df260a6487b2a5e199e8eeba1.tar.bz2
linux-3.10-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 2dbd9e1e358..e714ed8bb19 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);