aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlegacy/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/iwlegacy/common.h')
-rw-r--r--drivers/net/wireless/iwlegacy/common.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/iwlegacy/common.h b/drivers/net/wireless/iwlegacy/common.h
index e2f55dc86936..42820183dbe1 100644
--- a/drivers/net/wireless/iwlegacy/common.h
+++ b/drivers/net/wireless/iwlegacy/common.h
@@ -1906,7 +1906,7 @@ void il_free_geos(struct il_priv *il);
1906#define S_HCMD_ACTIVE 0 /* host command in progress */ 1906#define S_HCMD_ACTIVE 0 /* host command in progress */
1907/* 1 is unused (used to be S_HCMD_SYNC_ACTIVE) */ 1907/* 1 is unused (used to be S_HCMD_SYNC_ACTIVE) */
1908#define S_INT_ENABLED 2 1908#define S_INT_ENABLED 2
1909#define S_RF_KILL_HW 3 1909#define S_RFKILL 3
1910#define S_CT_KILL 4 1910#define S_CT_KILL 4
1911#define S_INIT 5 1911#define S_INIT 5
1912#define S_ALIVE 6 1912#define S_ALIVE 6
@@ -1947,7 +1947,7 @@ il_is_init(struct il_priv *il)
1947static inline int 1947static inline int
1948il_is_rfkill_hw(struct il_priv *il) 1948il_is_rfkill_hw(struct il_priv *il)
1949{ 1949{
1950 return test_bit(S_RF_KILL_HW, &il->status); 1950 return test_bit(S_RFKILL, &il->status);
1951} 1951}
1952 1952
1953static inline int 1953static inline int