]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: make EXIT_PENDING depend on mac80211
authorJohannes Berg <johannes.berg@intel.com>
Mon, 5 Mar 2012 19:24:28 +0000 (11:24 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 6 Mar 2012 20:16:10 +0000 (15:16 -0500)
commit6f2a2538459d87351a4f328b7ac3a0d2476ce6ab
treeddd9ee366be599049e96b17e69d6fac64e68d110
parentf2da1a3d57c2bbbe1e61cb9cbb5ec879d3cbe538
iwlwifi: make EXIT_PENDING depend on mac80211

There's no reason to set EXIT_PENDING when we
start removing the module, as mac80211 will
cleanly shut down the device in this case.
Additionally, there's no point in rejecting
commands to the device when we're cleaning up
as that only leads to unwanted errors from
mac80211 being printed, such as
  failed to remove key (...) from hardware (-16)

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-rxon.c
drivers/net/wireless/iwlwifi/iwl-agn.c
drivers/net/wireless/iwlwifi/iwl-mac80211.c
drivers/net/wireless/iwlwifi/iwl-scan.c
drivers/net/wireless/iwlwifi/iwl-trans-pcie-tx.c