ramips: fix widora neo diag led
authorMathias Kresin <dev@kresin.me>
Wed, 27 Dec 2017 21:09:52 +0000 (22:09 +0100)
committerMathias Kresin <dev@kresin.me>
Fri, 29 Dec 2017 21:32:34 +0000 (22:32 +0100)
The diag LED is named widora:orange:wifi and can't be derived from the
boardname.

Signed-off-by: Mathias Kresin <dev@kresin.me>
target/linux/ramips/base-files/etc/diag.sh

index 8858876899c6fbbea818ca75f042395049db348e..d7cc4173afae7a5ab44515e96ba7a6bc0d62367c 100644 (file)
@@ -223,8 +223,7 @@ get_status_led() {
                ;;
        re6500|\
        whr-1166d|\
-       whr-600d|\
-       widora-neo)
+       whr-600d)
                status_led="$boardname:orange:wifi"
                ;;
        mzk-ex300np|\
@@ -285,6 +284,9 @@ get_status_led() {
        zbt-we2026)
                status_led="$boardname:red:power"
                ;;
+       widora-neo)
+               status_led="widora:orange:wifi"
+               ;;
        wzr-agl300nh)
                status_led="$boardname:green:router"
                ;;