summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-trans-pcie.c
diff options
context:
space:
mode:
authorDon Fry <donald.h.fry@intel.com>2012-03-23 08:34:31 -0700
committerWey-Yi Guy <wey-yi.w.guy@intel.com>2012-04-16 14:35:47 -0700
commit01d651d4b7f40c90821e104963dc04800fbde8cf (patch)
treec8cebeaa72ce738c484ef46b737d41a1a8cd205e /drivers/net/wireless/iwlwifi/iwl-trans-pcie.c
parentf8c6c6b56fa367d9a3864b922ad659dddf2688a4 (diff)
downloadlinux-01d651d4b7f40c90821e104963dc04800fbde8cf.tar.bz2
iwlwifi: move status definitions from iwl-shared
The code has been changed, move the definitions to the proper file being used by the code. 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.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-trans-pcie.c b/drivers/net/wireless/iwlwifi/iwl-trans-pcie.c
index 1b7c846b3757..333a2784cf0b 100644
--- a/drivers/net/wireless/iwlwifi/iwl-trans-pcie.c
+++ b/drivers/net/wireless/iwlwifi/iwl-trans-pcie.c
@@ -1253,7 +1253,7 @@ static void iwl_trans_pcie_stop_device(struct iwl_trans *trans)
clear_bit(STATUS_HCMD_ACTIVE, &trans_pcie->status);
clear_bit(STATUS_INT_ENABLED, &trans_pcie->status);
clear_bit(STATUS_DEVICE_ENABLED, &trans_pcie->status);
- clear_bit(STATUS_POWER_PMI, &trans_pcie->status);
+ clear_bit(STATUS_TPOWER_PMI, &trans_pcie->status);
}
static void iwl_trans_pcie_wowlan_suspend(struct iwl_trans *trans)
@@ -1574,9 +1574,9 @@ static void iwl_trans_pcie_set_pmi(struct iwl_trans *trans, bool state)
struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans);
if (state)
- set_bit(STATUS_POWER_PMI, &trans_pcie->status);
+ set_bit(STATUS_TPOWER_PMI, &trans_pcie->status);
else
- clear_bit(STATUS_POWER_PMI, &trans_pcie->status);
+ clear_bit(STATUS_TPOWER_PMI, &trans_pcie->status);
}
#ifdef CONFIG_PM_SLEEP