diff options
author | Arik Nemtsov <arik@wizery.com> | 2011-06-27 16:58:45 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-06-29 15:11:00 -0400 |
commit | 39df600aa6ac027b53c4ce3089cba57467a960df (patch) | |
tree | 3f439b592816832d7d3e3b39bf30a9fe8ff9b1d2 /net/mac80211 | |
parent | f01dce9474e9f09290707b523a134a9605845b00 (diff) |
mac80211: propagate information about STA WME support down
Add a memeber to the ieee80211_sta structure to indicate whether the STA
supports WME.
Signed-off-by: Arik Nemtsov <arik@wizery.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211')
-rw-r--r-- | net/mac80211/cfg.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/net/mac80211/cfg.c b/net/mac80211/cfg.c index 6e56c6ee7ccd..9fe22cc393c8 100644 --- a/net/mac80211/cfg.c +++ b/net/mac80211/cfg.c | |||
@@ -674,8 +674,11 @@ static void sta_apply_parameters(struct ieee80211_local *local, | |||
674 | 674 | ||
675 | if (mask & BIT(NL80211_STA_FLAG_WME)) { | 675 | if (mask & BIT(NL80211_STA_FLAG_WME)) { |
676 | sta->flags &= ~WLAN_STA_WME; | 676 | sta->flags &= ~WLAN_STA_WME; |
677 | if (set & BIT(NL80211_STA_FLAG_WME)) | 677 | sta->sta.wme = false; |
678 | if (set & BIT(NL80211_STA_FLAG_WME)) { | ||
678 | sta->flags |= WLAN_STA_WME; | 679 | sta->flags |= WLAN_STA_WME; |
680 | sta->sta.wme = true; | ||
681 | } | ||
679 | } | 682 | } |
680 | 683 | ||
681 | if (mask & BIT(NL80211_STA_FLAG_MFP)) { | 684 | if (mask & BIT(NL80211_STA_FLAG_MFP)) { |