diff options
author | John Crispin <blogic@openwrt.org> | 2015-03-11 15:55:06 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2015-03-11 15:55:06 +0000 |
commit | b3ae0b0d8458a72a1e7647577242bec047164ec6 (patch) | |
tree | 4faf1f50065c18ab4f5cbd000cb125f7e5a9c49c /target | |
parent | 7dc5e80b5edc64f65314a9139a39110dc1a8fc53 (diff) | |
download | upstream-b3ae0b0d8458a72a1e7647577242bec047164ec6.tar.gz upstream-b3ae0b0d8458a72a1e7647577242bec047164ec6.tar.bz2 upstream-b3ae0b0d8458a72a1e7647577242bec047164ec6.zip |
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@universe-factory.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44659 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-rw-r--r-- | target/linux/ar71xx/base-files/etc/uci-defaults/01_leds | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds index a83a4fc50e..d4cc617b99 100644 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds @@ -358,8 +358,6 @@ tl-wdr4300) ucidef_set_led_wlan "wlan2g" "WLAN2G" "tp-link:blue:wlan2g" "phy0tpt" ;; -archer-c5|\ -archer-c7|\ tl-wdr4900-v2) ucidef_set_led_usbdev "usb1" "USB1" "tp-link:green:usb1" "1-1" ucidef_set_led_usbdev "usb2" "USB2" "tp-link:green:usb2" "2-1" @@ -367,6 +365,14 @@ tl-wdr4900-v2) ucidef_set_led_wlan "wlan5g" "WLAN5G" "tp-link:blue:wlan5g" "phy1tpt" ;; +archer-c5|\ +archer-c7) + ucidef_set_led_usbdev "usb1" "USB1" "tp-link:green:usb1" "1-1" + ucidef_set_led_usbdev "usb2" "USB2" "tp-link:green:usb2" "2-1" + ucidef_set_led_wlan "wlan2g" "WLAN2G" "tp-link:blue:wlan2g" "phy1tpt" + ucidef_set_led_wlan "wlan5g" "WLAN5G" "tp-link:blue:wlan5g" "phy0tpt" + ;; + tl-wr741nd) ucidef_set_led_netdev "wan" "WAN" "tp-link:green:wan" "eth1" ucidef_set_led_switch "lan1" "LAN1" "tp-link:green:lan1" "switch0" "0x02" |