diff --git a/[refs] b/[refs] index d20c19745b55..196c317ac30b 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 2fb40577b05a869904a8fcf7098d26f3c7809644 +refs/heads/master: cd32984f64cb4fdd84e33f30da1f10582fc43cbf diff --git a/trunk/net/wireless/nl80211.c b/trunk/net/wireless/nl80211.c index 74d16192fbf0..bf3fc4f264f5 100644 --- a/trunk/net/wireless/nl80211.c +++ b/trunk/net/wireless/nl80211.c @@ -2620,7 +2620,7 @@ static int nl80211_new_station(struct sk_buff *skb, struct genl_info *info) /* parse WME attributes if sta is WME capable */ if ((rdev->wiphy.flags & WIPHY_FLAG_AP_UAPSD) && - (params.sta_flags_set & NL80211_STA_FLAG_WME) && + (params.sta_flags_set & BIT(NL80211_STA_FLAG_WME)) && info->attrs[NL80211_ATTR_STA_WME]) { struct nlattr *tb[NL80211_STA_WME_MAX + 1]; struct nlattr *nla;