ath79: add LED trigger for TL-WR902AC v1 WAN LED

Inspired by commit c48b571ad7, 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>
This commit is contained in:
Lech Perczak 2020-01-31 00:47:16 +01:00 committed by Adrian Schmutzler
parent 16031ebaf8
commit 52a0bd3334

View File

@ -219,6 +219,7 @@ tplink,cpe510-v3)
tplink,cpe610-v1|\ tplink,cpe610-v1|\
tplink,tl-wr902ac-v1) tplink,tl-wr902ac-v1)
ucidef_set_led_netdev "lan" "LAN" "tp-link:green:lan" "eth0" 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,re355-v1|\
tplink,re450-v1|\ tplink,re450-v1|\