aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/etc/board.d/01_leds
diff options
context:
space:
mode:
authorJan Alexander <jan@nalx.net>2020-01-30 15:23:51 +0100
committerDavid Bauer <mail@david-bauer.net>2020-01-30 22:15:55 +0100
commitaed6632d31ff5d29045dc904dedc840d902aad97 (patch)
tree8f2d42e0e574d9509180462f5a2bbe64ee3b2020 /target/linux/ramips/base-files/etc/board.d/01_leds
parenta229907150e01d8c32293cc0a48630e7c4f0cb00 (diff)
downloadupstream-aed6632d31ff5d29045dc904dedc840d902aad97.tar.gz
upstream-aed6632d31ff5d29045dc904dedc840d902aad97.tar.bz2
upstream-aed6632d31ff5d29045dc904dedc840d902aad97.zip
ramips: use tpt DTS trigger for TP-Link TL-MR3020 v3 and TL-WA801ND v5
This converts the TP-Link TL-MR3020v3 board to use the WLAN throughput LED trigger in order to react to all VAPs. It also moves the WLAN trigger config of the TP-Link TL-WA801NDv5 to the DTS and merges the now identical LAN LED configs. Verified these changes on a TL-MR3020v3 and TL-WA801NDv5. Signed-off-by: Jan Alexander <jan@nalx.net> [changed commit title and extended commit message] Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de> [added comment about test result on TL-WA801ND v5] Signed-off-by: David Bauer <mail@david-bauer.net> (cherry picked from commit 20eb45da4fc19c12ea2073471992eeaf9d602fa5)
Diffstat (limited to 'target/linux/ramips/base-files/etc/board.d/01_leds')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/board.d/01_leds8
1 files changed, 2 insertions, 6 deletions
diff --git a/target/linux/ramips/base-files/etc/board.d/01_leds b/target/linux/ramips/base-files/etc/board.d/01_leds
index 0845db393d..5c005db0c1 100755
--- a/target/linux/ramips/base-files/etc/board.d/01_leds
+++ b/target/linux/ramips/base-files/etc/board.d/01_leds
@@ -337,13 +337,9 @@ tplink,c50-v4)
ucidef_set_led_wlan "wlan2g" "wlan2g" "$boardname:green:wlan2g" "phy0tpt"
ucidef_set_led_wlan "wlan5g" "wlan5g" "$boardname:green:wlan5g" "phy1tpt"
;;
-tplink,tl-wa801nd-v5)
- ucidef_set_led_wlan "wlan" "wlan" "$boardname:green:wlan" "phy0tpt"
- ucidef_set_led_netdev "lan" "lan" "$boardname:green:lan" "eth0"
- ;;
+tplink,tl-wa801nd-v5|\
tplink,tl-mr3020-v3)
- set_wifi_led "$boardname:green:wlan"
- ucidef_set_led_netdev "lan" "LAN" "$boardname:green:lan" "eth0"
+ ucidef_set_led_netdev "lan" "lan" "$boardname:green:lan" "eth0"
;;
tplink,tl-mr3420-v5|\
tplink,tl-wr842n-v5)