Message ID | 20220121165436.30956-18-sampaio.ime@gmail.com |
---|---|
State | New |
Headers | show |
Series | None | expand |
diff --git a/drivers/net/wireless/intersil/p54/led.c b/drivers/net/wireless/intersil/p54/led.c index 4bc77010f9c1..c5966b32416e 100644 --- a/drivers/net/wireless/intersil/p54/led.c +++ b/drivers/net/wireless/intersil/p54/led.c @@ -43,7 +43,7 @@ static void p54_update_leds(struct work_struct *work) if (tmp < blink_delay) blink_delay = tmp; - if (priv->leds[i].led_dev.brightness == LED_OFF) + if (priv->leds[i].led_dev.brightness == 0) rerun = true; priv->leds[i].toggled =