Message ID | 20220121165436.30956-16-sampaio.ime@gmail.com |
---|---|
State | New |
Headers | show |
Series | None | expand |
diff --git a/drivers/net/wireless/atmel/at76c50x-usb.c b/drivers/net/wireless/atmel/at76c50x-usb.c index 7582761c61e2..3847c59b9672 100644 --- a/drivers/net/wireless/atmel/at76c50x-usb.c +++ b/drivers/net/wireless/atmel/at76c50x-usb.c @@ -523,10 +523,10 @@ static void at76_ledtrig_tx_timerfunc(struct timer_list *unused) if (tx_lastactivity != tx_activity) { tx_lastactivity = tx_activity; - led_trigger_event(ledtrig_tx, LED_FULL); + led_trigger_event(ledtrig_tx, 255); mod_timer(&ledtrig_tx_timer, jiffies + HZ / 4); } else - led_trigger_event(ledtrig_tx, LED_OFF); + led_trigger_event(ledtrig_tx, 0); } static void at76_ledtrig_tx_activity(void)