Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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) |