diff options
-rw-r--r-- | net/wireless/nl80211.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/wireless/nl80211.c b/net/wireless/nl80211.c index 74d16192fbf0..bf3fc4f264f5 100644 --- a/net/wireless/nl80211.c +++ b/net/wireless/nl80211.c | |||
@@ -2620,7 +2620,7 @@ static int nl80211_new_station(struct sk_buff *skb, struct genl_info *info) | |||
2620 | 2620 | ||
2621 | /* parse WME attributes if sta is WME capable */ | 2621 | /* parse WME attributes if sta is WME capable */ |
2622 | if ((rdev->wiphy.flags & WIPHY_FLAG_AP_UAPSD) && | 2622 | if ((rdev->wiphy.flags & WIPHY_FLAG_AP_UAPSD) && |
2623 | (params.sta_flags_set & NL80211_STA_FLAG_WME) && | 2623 | (params.sta_flags_set & BIT(NL80211_STA_FLAG_WME)) && |
2624 | info->attrs[NL80211_ATTR_STA_WME]) { | 2624 | info->attrs[NL80211_ATTR_STA_WME]) { |
2625 | struct nlattr *tb[NL80211_STA_WME_MAX + 1]; | 2625 | struct nlattr *tb[NL80211_STA_WME_MAX + 1]; |
2626 | struct nlattr *nla; | 2626 | struct nlattr *nla; |