aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Bauer <mail@david-bauer.net>2019-12-30 15:06:42 +0100
committerDavid Bauer <mail@david-bauer.net>2019-12-30 16:08:26 +0100
commit7ab5dc77b223fd71e07ac5b8eb2f32852e804db9 (patch)
tree090f5ecc6d2e32103c9ca54b9532a21d1b1449d8
parentad4b939bd0b7be7af288b9d1cdd4bf2c2d6fdb58 (diff)
downloadupstream-7ab5dc77b223fd71e07ac5b8eb2f32852e804db9.tar.gz
upstream-7ab5dc77b223fd71e07ac5b8eb2f32852e804db9.tar.bz2
upstream-7ab5dc77b223fd71e07ac5b8eb2f32852e804db9.zip
ramips: add LED trigger for TL-WR902AC v3 WAN LED
This adds an LED trigger for the WAN LED on top of the TP-Link TL-WR902AC v3. 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 labled LAN. Signed-off-by: David Bauer <mail@david-bauer.net> (cherry picked from commit c48b571ad708b9f66efb0c2942291c2d8f1d7780)
-rwxr-xr-xtarget/linux/ramips/base-files/etc/board.d/01_leds1
1 files changed, 1 insertions, 0 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 fb74a2c87b..38125375f4 100755
--- a/target/linux/ramips/base-files/etc/board.d/01_leds
+++ b/target/linux/ramips/base-files/etc/board.d/01_leds
@@ -360,6 +360,7 @@ tplink,tl-wr842n-v5)
tplink,tl-wr902ac-v3)
ucidef_set_led_wlan "wlan2g" "wlan2g" "$boardname:green:wlan" "phy0tpt"
ucidef_set_led_switch "lan" "lan" "$boardname:green:lan" "switch0" "0x10"
+ ucidef_set_led_switch "wan" "wan" "$boardname:green:wan" "switch0" "0x10"
;;
u25awf-h1)
set_wifi_led "u25awf:red:wifi"