diff options
author | Johannes Berg <johannes.berg@intel.com> | 2012-07-18 06:53:34 -0400 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2012-09-21 10:14:13 -0400 |
commit | 7f1611469b67739df260a6487b2a5e199e8eeba1 (patch) | |
tree | d26901be2a2380264aa06f36259337b89501282e /net/mac80211/mlme.c | |
parent | 2514ec86531481713036081e93a353bbd02e542b (diff) |
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/mlme.c')
-rw-r--r-- | net/mac80211/mlme.c | 2 |
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, | |||
1399 | sta = sta_info_get(sdata, ifmgd->bssid); | 1399 | sta = sta_info_get(sdata, ifmgd->bssid); |
1400 | if (sta) { | 1400 | if (sta) { |
1401 | set_sta_flag(sta, WLAN_STA_BLOCK_BA); | 1401 | set_sta_flag(sta, WLAN_STA_BLOCK_BA); |
1402 | ieee80211_sta_tear_down_BA_sessions(sta, tx); | 1402 | ieee80211_sta_tear_down_BA_sessions(sta, false); |
1403 | } | 1403 | } |
1404 | mutex_unlock(&local->sta_mtx); | 1404 | mutex_unlock(&local->sta_mtx); |
1405 | 1405 | ||