aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/generic/base-files/etc
diff options
context:
space:
mode:
authorLech Perczak <lech.perczak@gmail.com>2020-01-31 00:47:16 +0100
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-02-07 14:06:20 +0100
commit52a0bd33341e11ffbd5b087b4ceb52ca754de8ba (patch)
treeff765849d08a678ad8f3449c1db563056f07f406 /target/linux/ath79/generic/base-files/etc
parent16031ebaf89f68ff3328e8d4a922adb244c2d5ae (diff)
downloadupstream-52a0bd33341e11ffbd5b087b4ceb52ca754de8ba.tar.gz
upstream-52a0bd33341e11ffbd5b087b4ceb52ca754de8ba.tar.bz2
upstream-52a0bd33341e11ffbd5b087b4ceb52ca754de8ba.zip
ath79: add LED trigger for TL-WR902AC v1 WAN LED
Inspired by commit c48b571ad708, add an LED trigger for the WAN LED on top of the TP-Link TL-WR902AC v1. Currently, only the LED on the port itself shows the link state, while the LED on top of the device stays dark. The WAN port of the device is a hybrid LAN/WAN one, hence why the LED at the port was labeled LAN. Signed-off-by: Lech Perczak <lech.perczak@gmail.com>
Diffstat (limited to 'target/linux/ath79/generic/base-files/etc')
-rwxr-xr-xtarget/linux/ath79/generic/base-files/etc/board.d/01_leds1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/linux/ath79/generic/base-files/etc/board.d/01_leds b/target/linux/ath79/generic/base-files/etc/board.d/01_leds
index 55d6772525..946d7306c3 100755
--- a/target/linux/ath79/generic/base-files/etc/board.d/01_leds
+++ b/target/linux/ath79/generic/base-files/etc/board.d/01_leds
@@ -219,6 +219,7 @@ tplink,cpe510-v3)
tplink,cpe610-v1|\
tplink,tl-wr902ac-v1)
ucidef_set_led_netdev "lan" "LAN" "tp-link:green:lan" "eth0"
+ ucidef_set_led_netdev "internet" "Internet" "tp-link:green:internet" "eth0"
;;
tplink,re355-v1|\
tplink,re450-v1|\