mirror of https://github.com/hak5/openwrt.git
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>master
parent
3026cfe172
commit
c48b571ad7
|
@ -98,6 +98,7 @@ tplink,tl-wr841n-v14)
|
||||||
tplink,tl-wr902ac-v3)
|
tplink,tl-wr902ac-v3)
|
||||||
ucidef_set_led_wlan "wlan2g" "wlan2g" "$boardname:green:wlan" "phy0tpt"
|
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 "lan" "lan" "$boardname:green:lan" "switch0" "0x10"
|
||||||
|
ucidef_set_led_switch "wan" "wan" "$boardname:green:wan" "switch0" "0x10"
|
||||||
;;
|
;;
|
||||||
unielec,u7628-01-16m)
|
unielec,u7628-01-16m)
|
||||||
ucidef_set_led_switch "lan1" "lan1" "u7628-01:green:lan1" "switch0" "0x2"
|
ucidef_set_led_switch "lan1" "lan1" "u7628-01:green:lan1" "switch0" "0x2"
|
||||||
|
|
Loading…
Reference in New Issue