summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-trans-pcie-tx.c
diff options
context:
space:
mode:
authorDon Fry <donald.h.fry@intel.com>2012-03-23 16:34:31 +0100
committerWey-Yi Guy <wey-yi.w.guy@intel.com>2012-04-16 23:35:47 +0200
commit01d651d4b7f40c90821e104963dc04800fbde8cf (patch)
treec8cebeaa72ce738c484ef46b737d41a1a8cd205e /drivers/net/wireless/iwlwifi/iwl-trans-pcie-tx.c
parentiwlwifi: added HBUS_TARG_TEST_REG (diff)
downloadlinux-01d651d4b7f40c90821e104963dc04800fbde8cf.tar.xz
linux-01d651d4b7f40c90821e104963dc04800fbde8cf.zip
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-tx.c')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-trans-pcie-tx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-trans-pcie-tx.c b/drivers/net/wireless/iwlwifi/iwl-trans-pcie-tx.c
index 2bc267074f69..21b7ca272af5 100644
--- a/drivers/net/wireless/iwlwifi/iwl-trans-pcie-tx.c
+++ b/drivers/net/wireless/iwlwifi/iwl-trans-pcie-tx.c
@@ -107,7 +107,7 @@ void iwl_txq_update_write_ptr(struct iwl_trans *trans, struct iwl_tx_queue *txq)
struct iwl_trans_pcie *trans_pcie =
IWL_TRANS_GET_PCIE_TRANS(trans);
/* if we're trying to save power */
- if (test_bit(STATUS_POWER_PMI, &trans_pcie->status)) {
+ if (test_bit(STATUS_TPOWER_PMI, &trans_pcie->status)) {
/* wake up nic if it's powered down ...
* uCode will wake up, and interrupt us again, so next
* time we'll skip this part. */