]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: don't delete AP station directly
authorJohannes Berg <johannes.berg@intel.com>
Wed, 7 Mar 2012 17:52:42 +0000 (09:52 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 8 Mar 2012 19:02:29 +0000 (14:02 -0500)
commit539d5c8b6c10fb3a0cc2f5c8643a1e5ad2b3309b
tree4b8da67657cf324b998ef5ced44c894189e14092
parentbe303a926fbc5eb75cf3adcd6fec8b565386f55d
iwlwifi: don't delete AP station directly

With the mac80211 deauth sequence changes, the
station is deleted before the device is set
unassociated. This can cause the device to get
confused as it expects the station to be there
while the associated bit is set.

To fix this, do not delete the AP station from
the device when mac80211 asks for deletion,
instead just mark it as unused and rely on the
unassociated RXON to drop it from the station
database in the device.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-agn-sta.c
drivers/net/wireless/iwlwifi/iwl-agn.h
drivers/net/wireless/iwlwifi/iwl-mac80211.c