From: Javier Cardona Date: Tue, 3 May 2011 23:57:18 +0000 (-0700) Subject: mac80211: allow setting supported rates on mesh peers X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=1833d81a1229adeab98f275b47624d66462561e5;p=openwrt%2Fstaging%2Fblogic.git mac80211: allow setting supported rates on mesh peers This is necessary for userspace managed stations. Signed-off-by: Javier Cardona Signed-off-by: John W. Linville --- 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) |