ramips: use blue status LED for Xiaomi Router 3G
authorDaniel Gimpelevich <[email protected]>
Mon, 15 Jan 2018 16:11:54 +0000 (08:11 -0800)
committerMathias Kresin <[email protected]>
Mon, 15 Jan 2018 20:45:43 +0000 (21:45 +0100)
The blue LED is what other firmwares use for this device, and it's a lot
easier on the eyes than its shade of yellow, which implies an error
condition.

Signed-off-by: Daniel Gimpelevich <[email protected]>
[merge into existing $boardname:blue:status block]
Signed-off-by: Mathias Kresin <[email protected]>
Acked-by: Piotr Dymacz <[email protected]>
Acked-by: Cezary Jackiewicz <[email protected]>
target/linux/ramips/base-files/etc/diag.sh

index cf37fcf487843197d81650da836d462218dd7dd4..f290c3f9a77bb5643f34c36ab38fe8296250706e 100644 (file)
@@ -174,6 +174,7 @@ get_status_led() {
                ;;
        k2p|\
        m3|\
+       mir3g|\
        miwifi-nano)
                status_led="$boardname:blue:status"
                ;;
@@ -190,9 +191,6 @@ get_status_led() {
        m4-8M)
                status_led="m4:blue:status"
                ;;
-       mir3g)
-               status_led="$boardname:yellow:status"
-               ;;
        miwifi-mini|\
        zte-q7)
                status_led="$boardname:red:status"