diff options
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-3945-led.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-3945-led.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-3945-led.c b/drivers/net/wireless/iwlwifi/iwl-3945-led.c index fab137365000..2e507e912dad 100644 --- a/drivers/net/wireless/iwlwifi/iwl-3945-led.c +++ b/drivers/net/wireless/iwlwifi/iwl-3945-led.c | |||
@@ -137,7 +137,7 @@ static int iwl3945_led_off(struct iwl_priv *priv, int led_id) | |||
137 | .off = 0, | 137 | .off = 0, |
138 | .interval = IWL_DEF_LED_INTRVL | 138 | .interval = IWL_DEF_LED_INTRVL |
139 | }; | 139 | }; |
140 | IWL_DEBUG_LED("led off %d\n", led_id); | 140 | IWL_DEBUG_LED(priv, "led off %d\n", led_id); |
141 | return iwl_send_led_cmd(priv, &led_cmd); | 141 | return iwl_send_led_cmd(priv, &led_cmd); |
142 | } | 142 | } |
143 | 143 | ||
@@ -174,7 +174,7 @@ static void iwl3945_led_brightness_set(struct led_classdev *led_cdev, | |||
174 | case LED_FULL: | 174 | case LED_FULL: |
175 | if (led->type == IWL_LED_TRG_ASSOC) { | 175 | if (led->type == IWL_LED_TRG_ASSOC) { |
176 | priv->allow_blinking = 1; | 176 | priv->allow_blinking = 1; |
177 | IWL_DEBUG_LED("MAC is associated\n"); | 177 | IWL_DEBUG_LED(priv, "MAC is associated\n"); |
178 | } | 178 | } |
179 | if (led->led_on) | 179 | if (led->led_on) |
180 | led->led_on(priv, IWL_LED_LINK); | 180 | led->led_on(priv, IWL_LED_LINK); |
@@ -182,7 +182,7 @@ static void iwl3945_led_brightness_set(struct led_classdev *led_cdev, | |||
182 | case LED_OFF: | 182 | case LED_OFF: |
183 | if (led->type == IWL_LED_TRG_ASSOC) { | 183 | if (led->type == IWL_LED_TRG_ASSOC) { |
184 | priv->allow_blinking = 0; | 184 | priv->allow_blinking = 0; |
185 | IWL_DEBUG_LED("MAC is disassociated\n"); | 185 | IWL_DEBUG_LED(priv, "MAC is disassociated\n"); |
186 | } | 186 | } |
187 | if (led->led_off) | 187 | if (led->led_off) |
188 | led->led_off(priv, IWL_LED_LINK); | 188 | led->led_off(priv, IWL_LED_LINK); |