diff options
author | Javier Cardona <javier@cozybit.com> | 2011-05-03 19:57:18 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-05-11 14:50:36 -0400 |
commit | 1833d81a1229adeab98f275b47624d66462561e5 (patch) | |
tree | 7dd9b45aba5f8d9ad47eaaed78ca2592e607ae0d /net/wireless | |
parent | 28104cae63708d1790cd71db8a45af50d5ea5a92 (diff) |
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/wireless')
-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) | |||
2324 | err = -EINVAL; | 2324 | err = -EINVAL; |
2325 | if (params.listen_interval >= 0) | 2325 | if (params.listen_interval >= 0) |
2326 | err = -EINVAL; | 2326 | err = -EINVAL; |
2327 | if (params.supported_rates) | ||
2328 | err = -EINVAL; | ||
2329 | if (params.sta_flags_mask & | 2327 | if (params.sta_flags_mask & |
2330 | ~(BIT(NL80211_STA_FLAG_AUTHENTICATED) | | 2328 | ~(BIT(NL80211_STA_FLAG_AUTHENTICATED) | |
2331 | BIT(NL80211_STA_FLAG_MFP) | | 2329 | BIT(NL80211_STA_FLAG_MFP) | |