[LEDE-DEV] [PATCH] ar71xx: re-enable wifi leds on buffalo wzr600dhp

Russell Senior russell at personaltelco.net
Wed Apr 12 00:33:52 PDT 2017


Commit 1f5ea4eae46e46a87353a751637ccb5d5cd5f60b disable the ath9k-phy led's
which caused the wifi LEDs on this board to remain dark.  This commit
re-enables them using the target/linux/ar71xx/base-files/etc/board.d/01_leds
using the ucidef_set_led_wlan.  The LEDs do not illuminate until firstboot
finishes after flashing, so they will not illuminate as quickly as they did
before commit 1f5ea4ea.

Signed-off-by: Russell Senior <russell at personaltelco.net>
---
 target/linux/ar71xx/base-files/etc/board.d/01_leds | 2 ++
 1 file changed, 2 insertions(+)

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 44d06fc1e1..9efbb0d5a6 100755
--- a/target/linux/ar71xx/base-files/etc/board.d/01_leds
+++ b/target/linux/ar71xx/base-files/etc/board.d/01_leds
@@ -847,6 +847,8 @@ wpn824n)
 wzr-hp-ag300h)
 	ucidef_set_led_default "diag" "DIAG" "buffalo:red:diag" "0"
 	ucidef_set_led_netdev "router" "ROUTER" "buffalo:green:router" "eth1"
+	ucidef_set_led_wlan "wlan2g" "WLAN2G" "buffalo:amber:band2g" "phy0tpt"
+	ucidef_set_led_wlan "wlan5g" "WLAN5G" "buffalo:amber:band5g" "phy1tpt"
 	ucidef_set_led_usbdev "usb" "USB" "buffalo:green:usb" "1-1"
 	;;
 wzr-hp-g300nh)
-- 
2.12.2


-- 
Russell Senior, President
russell at personaltelco.net



More information about the Lede-dev mailing list