aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx
diff options
context:
space:
mode:
authorMichal Cieslakiewicz <michal.cieslakiewicz@wp.pl>2019-10-11 10:42:33 +0200
committerJohn Crispin <john@phrozen.org>2019-10-21 13:24:27 +0200
commit380cf82f994b796dd42568c080654cb2ab149bf4 (patch)
tree5b8b84b45546812a5911e8cc9e1f2efc3d09dd4c /target/linux/ar71xx
parent77e14181d992cf3ed1259acfbda76927e80242b6 (diff)
downloadupstream-380cf82f994b796dd42568c080654cb2ab149bf4.tar.gz
upstream-380cf82f994b796dd42568c080654cb2ab149bf4.tar.bz2
upstream-380cf82f994b796dd42568c080654cb2ab149bf4.zip
ar71xx: WNDR4300: fix WAN LED behaviour
Change WAN LED behaviour to be consistent with other Netgear routers running OpenWrt. Instead of link speed, use amber colour to indicate link status. Green LED should be used when Internet connection is up and running. Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
Diffstat (limited to 'target/linux/ar71xx')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/board.d/01_leds3
1 files changed, 1 insertions, 2 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 8e49cb9fe2..8fc6fc8eea 100755
--- a/target/linux/ar71xx/base-files/etc/board.d/01_leds
+++ b/target/linux/ar71xx/base-files/etc/board.d/01_leds
@@ -1011,8 +1011,7 @@ wi2a-ac200i)
;;
wndr3700v4|\
wndr4300)
- ucidef_set_led_switch "wan-green" "WAN (green)" "netgear:green:wan" "switch0" "0x20" "0x08"
- ucidef_set_led_switch "wan-amber" "WAN (amber)" "netgear:amber:wan" "switch0" "0x20" "0x06"
+ ucidef_set_led_switch "wan-amber" "WAN (amber)" "netgear:amber:wan" "switch0" "0x20"
ucidef_set_led_usbport "usb" "USB" "netgear:green:usb" "usb1-port1"
ucidef_set_led_wlan "wlan2g" "WLAN2G" "netgear:green:wlan2g" "phy0tpt"
ucidef_set_led_wlan "wlan5g" "WLAN5G" "netgear:blue:wlan5g" "phy1tpt"