diff options
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-rfkill.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-rfkill.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-rfkill.c b/drivers/net/wireless/iwlwifi/iwl-rfkill.c index 66abf52e8987..308d69b18404 100644 --- a/drivers/net/wireless/iwlwifi/iwl-rfkill.c +++ b/drivers/net/wireless/iwlwifi/iwl-rfkill.c | |||
@@ -33,18 +33,11 @@ | |||
33 | #include <net/mac80211.h> | 33 | #include <net/mac80211.h> |
34 | 34 | ||
35 | #include "iwl-eeprom.h" | 35 | #include "iwl-eeprom.h" |
36 | #include "iwl-core.h" | ||
37 | #include "iwl-4965.h" | 36 | #include "iwl-4965.h" |
37 | #include "iwl-core.h" | ||
38 | #include "iwl-helpers.h" | 38 | #include "iwl-helpers.h" |
39 | 39 | ||
40 | 40 | ||
41 | static inline int iwl_is_rfkill(struct iwl_priv *priv) | ||
42 | { | ||
43 | return test_bit(STATUS_RF_KILL_HW, &priv->status) || | ||
44 | test_bit(STATUS_RF_KILL_SW, &priv->status); | ||
45 | } | ||
46 | |||
47 | |||
48 | /* software rf-kill from user */ | 41 | /* software rf-kill from user */ |
49 | static int iwl_rfkill_soft_rf_kill(void *data, enum rfkill_state state) | 42 | static int iwl_rfkill_soft_rf_kill(void *data, enum rfkill_state state) |
50 | { | 43 | { |