[PATCH] driver_nl80211: disable 11b rates on interface change

Jouni Malinen j at w1.fi
Sun Dec 23 05:59:27 EST 2012


On Sun, Dec 09, 2012 at 10:30:26AM +0200, Arik Nemtsov wrote:
> 11b rates were disabled during interface addition, but
> not on interface mode change.
> 
> Disable/Enable 11b rates in wpa_driver_nl80211_set_mode(),
> according to the interface type (p2p or not).

> +	nl80211_disable_11b_rates(drv, drv->ifindex, is_p2p_interface(nlmode));

Is this really needed? There is a call to nl80211_disable_11b_rates()
just above this in the same wpa_driver_nl80211_set_mode() function (from
commits edb9bfba8914932aa44657c41fb99dc984e1f8d2 and
1d0c6fb1ebe1feaec76bfb7f00c05349e18973aa).

-- 
Jouni Malinen                                            PGP id EFC895FA


More information about the HostAP mailing list