From c6674722b990f07517296cd53667dd0123f56e40 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Fri, 1 Aug 2014 11:19:39 +0000 Subject: [PATCH] ramips: Fix LEDs on the Kingston MLW221 LED Fix up for the Kingston Mobilelite Wireless (MLW-221) http://wiki.openwrt.org/toh/kingston/mlw221 Signed-off-by: L. D. Pinney SVN-Revision: 41933 --- target/linux/ramips/base-files/etc/diag.sh | 2 +- target/linux/ramips/base-files/etc/uci-defaults/01_leds | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh index 088760652a1..c9b7ded2ecc 100755 --- a/target/linux/ramips/base-files/etc/diag.sh +++ b/target/linux/ramips/base-files/etc/diag.sh @@ -74,7 +74,7 @@ get_status_led() { status_led="m4:blue:status" ;; mlw221) - status_led="kingston:green:status" + status_led="kingston:blue:status" ;; mofi3500-3gn) status_led="mofi3500-3gn:green:status" diff --git a/target/linux/ramips/base-files/etc/uci-defaults/01_leds b/target/linux/ramips/base-files/etc/uci-defaults/01_leds index 359281efa99..e92a12e7ab0 100755 --- a/target/linux/ramips/base-files/etc/uci-defaults/01_leds +++ b/target/linux/ramips/base-files/etc/uci-defaults/01_leds @@ -115,6 +115,7 @@ case $board in ;; mlw221) set_wifi_led "kingston:blue:wifi" + ucidef_set_led_default "system" "system" "kingston:blue:system" "1" ;; mofi3500-3gn) set_usb_led "mofi3500-3gn:green:usb" -- 2.30.2