iwlwifi: move FW_ERROR to priv
authorDon Fry <donald.h.fry@intel.com>
Thu, 15 Mar 2012 20:27:05 +0000 (13:27 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 9 Apr 2012 20:37:47 +0000 (16:37 -0400)
commit17acd0b64e23d92013621dc2caa3042ce6769770
treea4edbddf9a7a2a8a1b1b2115ac2af248da499e0a
parente3ec26de90c18b1b198f94f5b2444ba48cc6ce2d
iwlwifi: move FW_ERROR to priv

The op_mode should check for FW_ERROR before calling send_cmd.  This
removes the need to test for FW_ERROR in the trans layer.

Signed-off-by: Don Fry <donald.h.fry@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-lib.c
drivers/net/wireless/iwlwifi/iwl-agn.c
drivers/net/wireless/iwlwifi/iwl-core.c
drivers/net/wireless/iwlwifi/iwl-debugfs.c
drivers/net/wireless/iwlwifi/iwl-scan.c
drivers/net/wireless/iwlwifi/iwl-trans-pcie-tx.c