Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 266031
b: refs/heads/master
c: 4319e19
h: refs/heads/master
i:
  266029: fa53077
  266027: 7b6e0f6
  266023: 8f35222
  266015: 03d3b2a
v: v3
  • Loading branch information
Johannes Berg authored and John W. Linville committed Sep 14, 2011
1 parent 64f5358 commit 1c29746
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ff620849110649b5f94989ddfd7a72b2bd43bd42
refs/heads/master: 4319e193271dc93241338eb0173fc26dc6c35465
5 changes: 5 additions & 0 deletions trunk/net/wireless/nl80211.c
Original file line number Diff line number Diff line change
Expand Up @@ -2627,10 +2627,15 @@ static int nl80211_new_station(struct sk_buff *skb, struct genl_info *info)
if (tb[NL80211_STA_WME_UAPSD_QUEUES])
params.uapsd_queues =
nla_get_u8(tb[NL80211_STA_WME_UAPSD_QUEUES]);
if (params.uapsd_queues & ~IEEE80211_WMM_IE_STA_QOSINFO_AC_MASK)
return -EINVAL;

if (tb[NL80211_STA_WME_MAX_SP])
params.max_sp =
nla_get_u8(tb[NL80211_STA_WME_MAX_SP]);

if (params.max_sp & ~IEEE80211_WMM_IE_STA_QOSINFO_SP_MASK)
return -EINVAL;
}

if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_AP &&
Expand Down

0 comments on commit 1c29746

Please sign in to comment.