ramips: Fix LEDs on the Kingston MLW221
authorJohn Crispin <john@openwrt.org>
Fri, 1 Aug 2014 11:19:39 +0000 (11:19 +0000)
committerJohn Crispin <john@openwrt.org>
Fri, 1 Aug 2014 11:19:39 +0000 (11:19 +0000)
LED Fix up for the Kingston Mobilelite Wireless (MLW-221)

http://wiki.openwrt.org/toh/kingston/mlw221

Signed-off-by: L. D. Pinney <ldpinney@gmail.com>
SVN-Revision: 41933

target/linux/ramips/base-files/etc/diag.sh
target/linux/ramips/base-files/etc/uci-defaults/01_leds

index 088760652a14f80ea2f3f58d7c878d83c85b648e..c9b7ded2ecc1093e158efacb75bfa6851d878d98 100755 (executable)
@@ -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"
index 359281efa993dcc05f407a9ea1c2ad6f02f715ae..e92a12e7ab0b7716a1f6bbaec88240ff88d5ae49 100755 (executable)
@@ -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"