Advertisement
Guest User

Untitled

a guest
Dec 7th, 2022
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 0.52 KB | None | 0 0
  1. diff --git a/drivers/net/wireless/mediatek/mt76/mt7915/init.c b/drivers/net/wireless/mediatek/mt76/mt7915/init.c
  2. index b713019f942c..571c94835942 100644
  3. --- a/drivers/net/wireless/mediatek/mt76/mt7915/init.c
  4. +++ b/drivers/net/wireless/mediatek/mt76/mt7915/init.c
  5. @@ -227,7 +227,7 @@ static void mt7915_led_set_config(struct led_classdev *led_cdev,
  6.  
  7.     /* control LED */
  8.     val = MT_LED_CTRL_KICK;
  9. -   if (mphy->leds.al)
  10. +   if (dev->mphy.leds.al)
  11.         val |= MT_LED_CTRL_POLARITY;
  12.     if (mphy->band_idx)
  13.         val |= MT_LED_CTRL_BAND;
  14.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement