diff options
author | Don Fry <donald.h.fry@intel.com> | 2012-03-20 19:36:54 -0400 |
---|---|---|
committer | Wey-Yi Guy <wey-yi.w.guy@intel.com> | 2012-04-16 17:35:24 -0400 |
commit | 74fda9715cf611163cbe576a017e6bbaf53966ff (patch) | |
tree | 607d151851e4eeb32fe3a5b95f1a8d9592f3102f /drivers/net/wireless/iwlwifi/iwl-trans-pcie.c | |
parent | 8a8bbdb4de0085b1e89eae33753c80299ab88ff6 (diff) |
iwlwifi: move HCMD_ACTIVE to trans
The HCMD_ACTIVE bit is only used in trans.
Signed-off-by: Don Fry <donald.h.fry@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-trans-pcie.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-trans-pcie.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-trans-pcie.c b/drivers/net/wireless/iwlwifi/iwl-trans-pcie.c index 914b6d5df9b2..1b7c846b3757 100644 --- a/drivers/net/wireless/iwlwifi/iwl-trans-pcie.c +++ b/drivers/net/wireless/iwlwifi/iwl-trans-pcie.c | |||
@@ -1248,6 +1248,12 @@ static void iwl_trans_pcie_stop_device(struct iwl_trans *trans) | |||
1248 | 1248 | ||
1249 | /* stop and reset the on-board processor */ | 1249 | /* stop and reset the on-board processor */ |
1250 | iwl_write32(trans, CSR_RESET, CSR_RESET_REG_FLAG_NEVO_RESET); | 1250 | iwl_write32(trans, CSR_RESET, CSR_RESET_REG_FLAG_NEVO_RESET); |
1251 | |||
1252 | /* clear all status bits */ | ||
1253 | clear_bit(STATUS_HCMD_ACTIVE, &trans_pcie->status); | ||
1254 | clear_bit(STATUS_INT_ENABLED, &trans_pcie->status); | ||
1255 | clear_bit(STATUS_DEVICE_ENABLED, &trans_pcie->status); | ||
1256 | clear_bit(STATUS_POWER_PMI, &trans_pcie->status); | ||
1251 | } | 1257 | } |
1252 | 1258 | ||
1253 | static void iwl_trans_pcie_wowlan_suspend(struct iwl_trans *trans) | 1259 | static void iwl_trans_pcie_wowlan_suspend(struct iwl_trans *trans) |