diff options
author | Javier Cardona <javier@cozybit.com> | 2011-05-04 01:57:18 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-05-11 20:50:36 +0200 |
commit | 1833d81a1229adeab98f275b47624d66462561e5 (patch) | |
tree | 7dd9b45aba5f8d9ad47eaaed78ca2592e607ae0d /net | |
parent | mac80211: Move call to mpp_path_lookup inside RCU-read section (diff) | |
download | linux-1833d81a1229adeab98f275b47624d66462561e5.tar.xz 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.c | 2 |
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) | |