]> git.ipfire.org Git - thirdparty/hostap.git/commit - src/drivers/driver_nl80211.c
nl80211: Fix re-enabling of 802.11b rates
authorJouni Malinen <j@w1.fi>
Sat, 29 Oct 2011 19:12:26 +0000 (22:12 +0300)
committerJouni Malinen <j@w1.fi>
Sat, 29 Oct 2011 19:12:26 +0000 (22:12 +0300)
commit1dea5882be3b99b21ec9e5bad5d742ff5ba2b1ec
treedbcf7e29fa2828150466d47b8503169bdeca6e97
parent083590503bdf6b223f217c7eef4ed4da2e7b1347
nl80211: Fix re-enabling of 802.11b rates

nl80211_disable_11b_rates() function was supposed to use the 'disabled'
parameter to figure out whether to disable or re-enable 802.11b rates.
In addition, the driver deinit path was now ending up re-disabling the
enabled rates at the end of the deinit operations when the interface
type was forced back to station. Both of these issues are now fixed
and the 2.4 GHz band TX rate index is cleared properly when
wpa_supplicant is stopped.

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