Changeset 44659


Ignore:
Timestamp:
2015-03-11T16:55:06+01:00 (3 years ago)
Author:
blogic
Message:

ar71xx: fix switched WLAN LEDs on TP-LINK Archer C5/C7

ath10k is loaded before ath9k, so the 5GHz adapter becomes phy0.

Signed-off-by: Matthias Schiffer <mschiffer@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds

    r44526 r44659  
    359359        ;; 
    360360 
    361 archer-c5|\ 
    362 archer-c7|\ 
    363361tl-wdr4900-v2) 
    364362        ucidef_set_led_usbdev "usb1" "USB1" "tp-link:green:usb1" "1-1" 
     
    366364        ucidef_set_led_wlan "wlan2g" "WLAN2G" "tp-link:blue:wlan2g" "phy0tpt" 
    367365        ucidef_set_led_wlan "wlan5g" "WLAN5G" "tp-link:blue:wlan5g" "phy1tpt" 
     366        ;; 
     367 
     368archer-c5|\ 
     369archer-c7) 
     370        ucidef_set_led_usbdev "usb1" "USB1" "tp-link:green:usb1" "1-1" 
     371        ucidef_set_led_usbdev "usb2" "USB2" "tp-link:green:usb2" "2-1" 
     372        ucidef_set_led_wlan "wlan2g" "WLAN2G" "tp-link:blue:wlan2g" "phy1tpt" 
     373        ucidef_set_led_wlan "wlan5g" "WLAN5G" "tp-link:blue:wlan5g" "phy0tpt" 
    368374        ;; 
    369375 
Note: See TracChangeset for help on using the changeset viewer.