]> git.ipfire.org Git - thirdparty/hostap.git/commit
nl80211: Fix re-enabling of 802.11b rates after P2P use
authorJouni Malinen <j@w1.fi>
Fri, 10 Aug 2012 08:48:57 +0000 (11:48 +0300)
committerJouni Malinen <j@w1.fi>
Fri, 10 Aug 2012 08:48:57 +0000 (11:48 +0300)
commit1d0c6fb1ebe1feaec76bfb7f00c05349e18973aa
tree8af44bdb51232ff63eb71998eebc089f690f6843
parentedb9bfba8914932aa44657c41fb99dc984e1f8d2
nl80211: Fix re-enabling of 802.11b rates after P2P use

Commit a11241fa114923b47892ad3279966839e9c2741d removed the 802.11b rate
enabling/disabling code from wpa_driver_nl80211_set_mode() and while
doing that, removed the only place where drv->disabled_11b_rates was
set. Fix this by updating the flag in nl80211_disable_11b_rates(). In
addition, re-enable the 802.11b rates when changing to non-P2P mode.

Signed-hostap: Jouni Malinen <j@w1.fi>
src/drivers/driver_nl80211.c