iwlwifi: check status before send command
authorWey-Yi Guy <wey-yi.w.guy@intel.com>
Thu, 10 Nov 2011 14:55:19 +0000 (06:55 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 11 Nov 2011 17:32:55 +0000 (12:32 -0500)
commit94b3c45c7be7a392764e5945d4ebb095a42e5ef0
tree35cf57a781610d8401d45a7f7ce58336c8907fc0
parent89db3b972c997d910b648497345fb0410ad04aec
iwlwifi: check status before send command

Check the status before sending host command, if any of the condition
match, cancel the host command before queue

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-trans-pcie-tx.c