summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorJavier Cardona <javier@cozybit.com>2011-05-03 16:57:18 -0700
committerJohn W. Linville <linville@tuxdriver.com>2011-05-11 14:50:36 -0400
commit1833d81a1229adeab98f275b47624d66462561e5 (patch)
tree7dd9b45aba5f8d9ad47eaaed78ca2592e607ae0d /net
parent28104cae63708d1790cd71db8a45af50d5ea5a92 (diff)
downloadlinux-1833d81a1229adeab98f275b47624d66462561e5.tar.gz
linux-1833d81a1229adeab98f275b47624d66462561e5.tar.bz2
linux-1833d81a1229adeab98f275b47624d66462561e5.zip
mac80211: allow setting supported rates on mesh peers
This is necessary for userspace managed stations. Signed-off-by: Javier Cardona <javier@cozybit.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net')
-rw-r--r--net/wireless/nl80211.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/net/wireless/nl80211.c b/net/wireless/nl80211.c
index fc3c95d92546..95dd5832e719 100644
--- 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) |