summaryrefslogtreecommitdiffstats
path: root/net/mac80211/pm.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2010-04-06 11:18:46 +0200
committerJohn W. Linville <linville@tuxdriver.com>2010-04-07 14:38:04 -0400
commit618f356b95e37ca0c30b3b513898fda54abd52a6 (patch)
tree950d67d39fa3e6b70a5cbf593b85f53416fa051e /net/mac80211/pm.c
parent66b0470aeef10a3b0f9a6a1c60d908b5a06c62ae (diff)
downloadop-kernel-dev-618f356b95e37ca0c30b3b513898fda54abd52a6.zip
op-kernel-dev-618f356b95e37ca0c30b3b513898fda54abd52a6.tar.gz
mac80211: rename WLAN_STA_SUSPEND to WLAN_STA_BLOCK_BA
I want to use it during station destruction as well so rename it to WLAN_STA_BLOCK_BA which is also the only use of it now. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/pm.c')
-rw-r--r--net/mac80211/pm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/pm.c b/net/mac80211/pm.c
index 0e64484..75202b2 100644
--- a/net/mac80211/pm.c
+++ b/net/mac80211/pm.c
@@ -46,7 +46,7 @@ int __ieee80211_suspend(struct ieee80211_hw *hw)
if (hw->flags & IEEE80211_HW_AMPDU_AGGREGATION) {
list_for_each_entry_rcu(sta, &local->sta_list, list) {
- set_sta_flags(sta, WLAN_STA_SUSPEND);
+ set_sta_flags(sta, WLAN_STA_BLOCK_BA);
ieee80211_sta_tear_down_BA_sessions(sta);
}
}
OpenPOWER on IntegriCloud