]> git.ipfire.org Git - thirdparty/hostap.git/commit
nl80211: Try to unmask 11b rates again on next connection request
authorJouni Malinen <jouni@qca.qualcomm.com>
Mon, 8 Dec 2014 14:10:46 +0000 (16:10 +0200)
committerJouni Malinen <j@w1.fi>
Mon, 8 Dec 2014 14:10:46 +0000 (16:10 +0200)
commit4bd7195466e4317ce0bb539bfac78cfbb5b43be3
treef754ee07277d9aaa550b733fb849cc57f9e237a5
parent3e208481b5a1bec0244e11af10da7c5fa692c117
nl80211: Try to unmask 11b rates again on next connection request

It is possible for unmasking of 11b rates to fail if a P2P group is
terminated while the netdev is down (e.g., due to rfkill block). This
could result in the 11b TX rates being left masked for non-P2P
operations. This would be particularly unfortunate for channel 14 use
since OFDM rates are not allowed on channel 14 and only OFDM rates were
configured P2P. This issue showed up, e.g., when running hwsim test case
rfkill_autogo followed by ap_wps_conf_chan14.

It may be possible to allow the failed operation in cfg80211/mac80211,
but it looks better to work around this on wpa_supplicant side as well.
Try to unmask the 11b rates again on the next connection request if the
rate unmasking operation had failed.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
src/drivers/driver_nl80211.c