ramips: don't hijack the status led
authorMathias Kresin <[email protected]>
Wed, 29 Aug 2018 06:58:33 +0000 (08:58 +0200)
committerJo-Philipp Wich <[email protected]>
Tue, 18 Dec 2018 16:48:04 +0000 (17:48 +0100)
Don't hijack the status led to indicate the wireless state. If we don't
have a dedicated wireless led, it's as simply as the wireless status
can't be indicated.

Such a led misuse should be set by the user and not shipped by default.

Signed-off-by: Mathias Kresin <[email protected]>
(backported from b07b3ddaad233291e47da1f61b018e0d7314952f)

target/linux/ramips/base-files/etc/board.d/01_leds

index 8960d029f5ec6bc064676a71314eef4cb8b63538..2644bc0159f8f61a5783e2a4f046857367ec465d 100755 (executable)
@@ -222,10 +222,6 @@ mlw221|\
 mlwg2)
        set_wifi_led "$boardname:blue:wifi"
        ;;
-mpr-a1|\
-mpr-a2)
-       set_wifi_led "$boardname:blue:system"
-       ;;
 mr-102n)
        set_wifi_led "$boardname:green:wlan"
        ;;
@@ -364,13 +360,6 @@ u7628-01-128M-16M)
 vocore-8M|\
 vocore-16M)
        ucidef_set_led_netdev "eth" "ETH" "vocore:orange:eth" "eth0"
-       set_wifi_led "vocore:green:status"
-       ;;
-vocore2)
-       set_wifi_led "$boardname:fuchsia:status"
-       ;;
-vocore2lite)
-       set_wifi_led "$boardname:green:status"
        ;;
 w502u)
        set_wifi_led "rt2800pci-phy0::radio"
@@ -429,9 +418,6 @@ zbt-wr8305rt)
 zorlik,zl5900v2)
        ucidef_set_led_netdev "lan" "lan" "$boardname:green:lan" eth0
        ;;
-zte-q7)
-       set_wifi_led "$boardname:blue:status"
-       ;;
 zyxel,keenetic-extra-ii)
        set_wifi_led "$boardname:green:wifi"
        ucidef_set_led_switch "internet" "internet" "$boardname:green:internet" "switch0" "0x01"