ar71xx: fix system LED names on Archer C5/C7
authorTomislav Požega <pozega.tomislav@gmail.com>
Thu, 18 Jul 2019 15:59:37 +0000 (17:59 +0200)
committerPetr Štetiar <ynezz@true.cz>
Sun, 28 Jul 2019 21:25:24 +0000 (23:25 +0200)
Move system LED board definitions of Archer C5/C7 to reflect
actual system LED colour used

Signed-off-by: Tomislav Požega <pozega.tomislav@gmail.com>
(cherry picked from commit a73934fc9ad05207e79a3e58abc3d14eee28b6f2)

target/linux/ar71xx/base-files/etc/diag.sh

index 558f338cd630529b2eef2147274ccec28485e354..8ff75627a538ff80bd45dd1706da18a3369c2613 100644 (file)
@@ -85,8 +85,6 @@ get_status_led() {
        tl-wr902ac-v1)
                status_led="$board:green:power"
                ;;
-       archer-c5|\
-       archer-c7|\
        tl-mr10u|\
        tl-mr12u|\
        tl-mr13u|\
@@ -450,6 +448,8 @@ get_status_led() {
        tl-mr6400)
                status_led="tp-link:white:power"
                ;;
+       archer-c5|\
+       archer-c7|\
        tl-mr3220|\
        tl-mr3220-v2|\
        tl-mr3420|\