Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/drivers/net/wireless/mediatek/mt76/mt7915/init.c b/drivers/net/wireless/mediatek/mt76/mt7915/init.c
- index b713019f942c..571c94835942 100644
- --- a/drivers/net/wireless/mediatek/mt76/mt7915/init.c
- +++ b/drivers/net/wireless/mediatek/mt76/mt7915/init.c
- @@ -227,7 +227,7 @@ static void mt7915_led_set_config(struct led_classdev *led_cdev,
- /* control LED */
- val = MT_LED_CTRL_KICK;
- - if (mphy->leds.al)
- + if (dev->mphy.leds.al)
- val |= MT_LED_CTRL_POLARITY;
- if (mphy->band_idx)
- val |= MT_LED_CTRL_BAND;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement