summaryrefslogtreecommitdiffstats
path: root/net
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
parent2514ec86531481713036081e93a353bbd02e542b (diff)
downloadop-kernel-dev-7f1611469b67739df260a6487b2a5e199e8eeba1.zip
op-kernel-dev-7f1611469b67739df260a6487b2a5e199e8eeba1.tar.gz
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')
-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 2dbd9e1..e714ed8 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);
OpenPOWER on IntegriCloud