summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/intel/iwlwifi/iwl-csr.h
diff options
context:
space:
mode:
authorLuca Coelho <luciano.coelho@intel.com>2019-12-10 16:11:36 +0300
committerLuca Coelho <luciano.coelho@intel.com>2019-12-24 02:34:52 +0300
commit3d1b28fd30ab8b87c0935584aff6f9b433939d2c (patch)
treee981db3ff1fb041661b8e30239e9dc4d0d9503b6 /drivers/net/wireless/intel/iwlwifi/iwl-csr.h
parentdf2378ab0f2a9dd4cf4501268af1902cc4ebacd8 (diff)
downloadlinux-3d1b28fd30ab8b87c0935584aff6f9b433939d2c.tar.xz
iwlwifi: pcie: rename L0S_ENABLED bit to L0S_DISABLED
This bit has been misnamed since the initial implementation of the driver. The correct semantics is that setting this bit disables L0S states, and we already clearly use it as such in the code. Rename it to avoid confusion. Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/iwl-csr.h')
-rw-r--r--drivers/net/wireless/intel/iwlwifi/iwl-csr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/intel/iwlwifi/iwl-csr.h b/drivers/net/wireless/intel/iwlwifi/iwl-csr.h
index 92d9898ab7c2..c2f7252ae4e7 100644
--- a/drivers/net/wireless/intel/iwlwifi/iwl-csr.h
+++ b/drivers/net/wireless/intel/iwlwifi/iwl-csr.h
@@ -379,7 +379,7 @@ enum {
/* CSR GIO */
-#define CSR_GIO_REG_VAL_L0S_ENABLED (0x00000002)
+#define CSR_GIO_REG_VAL_L0S_DISABLED (0x00000002)
/*
* UCODE-DRIVER GP (general purpose) mailbox register 1