diff options
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-rfkill.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-rfkill.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-rfkill.c b/drivers/net/wireless/iwlwifi/iwl-rfkill.c index f67d7be10748..2ad9faf1508a 100644 --- a/drivers/net/wireless/iwlwifi/iwl-rfkill.c +++ b/drivers/net/wireless/iwlwifi/iwl-rfkill.c | |||
@@ -47,7 +47,7 @@ static int iwl_rfkill_soft_rf_kill(void *data, enum rfkill_state state) | |||
47 | if (test_bit(STATUS_EXIT_PENDING, &priv->status)) | 47 | if (test_bit(STATUS_EXIT_PENDING, &priv->status)) |
48 | return 0; | 48 | return 0; |
49 | 49 | ||
50 | IWL_DEBUG_RF_KILL("we received soft RFKILL set to state %d\n", state); | 50 | IWL_DEBUG_RF_KILL(priv, "we received soft RFKILL set to state %d\n", state); |
51 | mutex_lock(&priv->mutex); | 51 | mutex_lock(&priv->mutex); |
52 | 52 | ||
53 | switch (state) { | 53 | switch (state) { |
@@ -79,7 +79,7 @@ int iwl_rfkill_init(struct iwl_priv *priv) | |||
79 | 79 | ||
80 | BUG_ON(device == NULL); | 80 | BUG_ON(device == NULL); |
81 | 81 | ||
82 | IWL_DEBUG_RF_KILL("Initializing RFKILL.\n"); | 82 | IWL_DEBUG_RF_KILL(priv, "Initializing RFKILL.\n"); |
83 | priv->rfkill = rfkill_allocate(device, RFKILL_TYPE_WLAN); | 83 | priv->rfkill = rfkill_allocate(device, RFKILL_TYPE_WLAN); |
84 | if (!priv->rfkill) { | 84 | if (!priv->rfkill) { |
85 | IWL_ERR(priv, "Unable to allocate RFKILL device.\n"); | 85 | IWL_ERR(priv, "Unable to allocate RFKILL device.\n"); |
@@ -102,7 +102,7 @@ int iwl_rfkill_init(struct iwl_priv *priv) | |||
102 | goto free_rfkill; | 102 | goto free_rfkill; |
103 | } | 103 | } |
104 | 104 | ||
105 | IWL_DEBUG_RF_KILL("RFKILL initialization complete.\n"); | 105 | IWL_DEBUG_RF_KILL(priv, "RFKILL initialization complete.\n"); |
106 | return ret; | 106 | return ret; |
107 | 107 | ||
108 | free_rfkill: | 108 | free_rfkill: |
@@ -111,7 +111,7 @@ free_rfkill: | |||
111 | priv->rfkill = NULL; | 111 | priv->rfkill = NULL; |
112 | 112 | ||
113 | error: | 113 | error: |
114 | IWL_DEBUG_RF_KILL("RFKILL initialization complete.\n"); | 114 | IWL_DEBUG_RF_KILL(priv, "RFKILL initialization complete.\n"); |
115 | return ret; | 115 | return ret; |
116 | } | 116 | } |
117 | EXPORT_SYMBOL(iwl_rfkill_init); | 117 | EXPORT_SYMBOL(iwl_rfkill_init); |