Commit 1833d81a authored by Javier Cardona's avatar Javier Cardona Committed by John W. Linville

mac80211: allow setting supported rates on mesh peers

This is necessary for userspace managed stations.
Signed-off-by: default avatarJavier Cardona <javier@cozybit.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 28104cae
...@@ -2324,8 +2324,6 @@ static int nl80211_set_station(struct sk_buff *skb, struct genl_info *info) ...@@ -2324,8 +2324,6 @@ static int nl80211_set_station(struct sk_buff *skb, struct genl_info *info)
err = -EINVAL; err = -EINVAL;
if (params.listen_interval >= 0) if (params.listen_interval >= 0)
err = -EINVAL; err = -EINVAL;
if (params.supported_rates)
err = -EINVAL;
if (params.sta_flags_mask & if (params.sta_flags_mask &
~(BIT(NL80211_STA_FLAG_AUTHENTICATED) | ~(BIT(NL80211_STA_FLAG_AUTHENTICATED) |
BIT(NL80211_STA_FLAG_MFP) | BIT(NL80211_STA_FLAG_MFP) |
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment