projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
28104ca
)
mac80211: allow setting supported rates on mesh peers
author
Javier Cardona
<javier@cozybit.com>
Tue, 3 May 2011 23:57:18 +0000
(16:57 -0700)
committer
John W. Linville
<linville@tuxdriver.com>
Wed, 11 May 2011 18:50:36 +0000
(14:50 -0400)
This is necessary for userspace managed stations.
Signed-off-by: Javier Cardona <javier@cozybit.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/wireless/nl80211.c
patch
|
blob
|
history
diff --git
a/net/wireless/nl80211.c
b/net/wireless/nl80211.c
index fc3c95d925464f0bf58a95247545458c1c8916a3..95dd5832e719c582cce256436bda810fc8a88735 100644
(file)
--- a/
net/wireless/nl80211.c
+++ b/
net/wireless/nl80211.c
@@
-2324,8
+2324,6
@@
static int nl80211_set_station(struct sk_buff *skb, struct genl_info *info)
err = -EINVAL;
if (params.listen_interval >= 0)
err = -EINVAL;
- if (params.supported_rates)
- err = -EINVAL;
if (params.sta_flags_mask &
~(BIT(NL80211_STA_FLAG_AUTHENTICATED) |
BIT(NL80211_STA_FLAG_MFP) |