diff options
author | Johannes Berg <johannes.berg@intel.com> | 2012-07-18 07:31:31 -0400 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2013-01-03 07:01:41 -0500 |
commit | c82c4a80bbb9c8ffa1d783070a8caa37f2db45b6 (patch) | |
tree | efafa9bdbba034bf4012dc4d2c727d7bd903fd28 /net/mac80211/pm.c | |
parent | d582cffbcd04eae0bd8a83b05648bfd54bfd21c9 (diff) |
mac80211: split aggregation stop by reason
The initiator/tx doesn't really identify why an
aggregation session is stopped, give a reason
for stopping that more clearly identifies what's
going on. This will help tell the driver clearly
what is expected of it.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/pm.c')
-rw-r--r-- | net/mac80211/pm.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/mac80211/pm.c b/net/mac80211/pm.c index f81fd30581d9..e45b83610e85 100644 --- a/net/mac80211/pm.c +++ b/net/mac80211/pm.c | |||
@@ -42,7 +42,8 @@ int __ieee80211_suspend(struct ieee80211_hw *hw, struct cfg80211_wowlan *wowlan) | |||
42 | mutex_lock(&local->sta_mtx); | 42 | mutex_lock(&local->sta_mtx); |
43 | list_for_each_entry(sta, &local->sta_list, list) { | 43 | list_for_each_entry(sta, &local->sta_list, list) { |
44 | set_sta_flag(sta, WLAN_STA_BLOCK_BA); | 44 | set_sta_flag(sta, WLAN_STA_BLOCK_BA); |
45 | ieee80211_sta_tear_down_BA_sessions(sta, true); | 45 | ieee80211_sta_tear_down_BA_sessions( |
46 | sta, AGG_STOP_LOCAL_REQUEST); | ||
46 | } | 47 | } |
47 | mutex_unlock(&local->sta_mtx); | 48 | mutex_unlock(&local->sta_mtx); |
48 | } | 49 | } |