iwlwifi: check for STATUS_EXIT_PENDING when send RXON command
authorWey-Yi Guy <wey-yi.w.guy@intel.com>
Fri, 26 Nov 2010 19:09:42 +0000 (11:09 -0800)
committerWey-Yi Guy <wey-yi.w.guy@intel.com>
Thu, 2 Dec 2010 16:35:23 +0000 (08:35 -0800)
commitadb90a00371a9a06a55c7b7ed7b38152f8e960c3
tree806433967df8baa79216fdb29d9571748170bcaa
parent8b3ee29626031155c7844988ebe4321c151c03a2
iwlwifi: check for STATUS_EXIT_PENDING when send RXON command

If driver is on the way down, there is no need to send
RXON to uCode, check the condition before continuous the process.

Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
drivers/net/wireless/iwlwifi/iwl-3945.c
drivers/net/wireless/iwlwifi/iwl-agn-rxon.c