aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files/etc/board.d/01_leds
diff options
context:
space:
mode:
authorPaul Wassi <p.wassi@gmx.at>2017-10-24 14:23:58 +0200
committerMathias Kresin <dev@kresin.me>2017-10-25 09:22:13 +0200
commit080061c1ba61805974aed22dbf59438da329e5ea (patch)
treedb5014493cf8e27d33b565ac532f01b3fe891728 /target/linux/ar71xx/base-files/etc/board.d/01_leds
parent9f7b897939cf0a670c08dd8cad8cf1f153c8b9f7 (diff)
downloadupstream-080061c1ba61805974aed22dbf59438da329e5ea.tar.gz
upstream-080061c1ba61805974aed22dbf59438da329e5ea.tar.bz2
upstream-080061c1ba61805974aed22dbf59438da329e5ea.zip
ar71xx: fix LED names for GL-AR150
Add the respective colour to the LED's names for the GL-AR150 to be conform to the kernel. Also add netdev triggers for the LAN and WAN LED. Signed-off-by: Paul Wassi <p.wassi@gmx.at>
Diffstat (limited to 'target/linux/ar71xx/base-files/etc/board.d/01_leds')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/board.d/01_leds6
1 files changed, 5 insertions, 1 deletions
diff --git a/target/linux/ar71xx/base-files/etc/board.d/01_leds b/target/linux/ar71xx/base-files/etc/board.d/01_leds
index dff314465c..e101d557bd 100755
--- a/target/linux/ar71xx/base-files/etc/board.d/01_leds
+++ b/target/linux/ar71xx/base-files/etc/board.d/01_leds
@@ -387,7 +387,11 @@ gl-mifi)
ucidef_set_led_netdev "lan" "LAN" "$board:green:lan" "eth1"
ucidef_set_led_netdev "3gnet" "3GNET" "$board:green:net" "3g-wan"
;;
-gl-ar150|\
+gl-ar150)
+ ucidef_set_led_wlan "wlan" "WLAN" "$board:orange:wlan" "phy0tpt"
+ ucidef_set_led_netdev "wan" "WAN" "$board:green:wan" "eth0"
+ ucidef_set_led_netdev "lan" "LAN" "$board:green:lan" "eth1"
+ ;;
gl-ar300)
ucidef_set_led_wlan "wlan" "WLAN" "$board:wlan" "phy0tpt"
;;