diff options
author | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2020-05-31 12:46:26 +0200 |
---|---|---|
committer | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2020-05-31 15:44:05 +0200 |
commit | 705fe43522c756962589b360141d4c398363ce1c (patch) | |
tree | 41abaa8948ae18fe27f45d07bf0ecfa18ed0e8ce /target/linux/ath79/generic | |
parent | 479f1f2c92f6b7e75f945cfdb2214b609a92b692 (diff) | |
download | upstream-705fe43522c756962589b360141d4c398363ce1c.tar.gz upstream-705fe43522c756962589b360141d4c398363ce1c.tar.bz2 upstream-705fe43522c756962589b360141d4c398363ce1c.zip |
ath79: fix LEDs for GL.inet GL-AR150
Since the wireless LED was used for boot and set up with a DT
trigger, the WiFi indication hasn't worked on ath79 at all.
In addition, a look into the manual revealed that the OEM
configuration is as follows:
LED 1 (green): power
LED 2 (green): configurable
LED 3 (red): wireless
So, let's just keep the WiFi trigger and convert the rest to its
"intended" use.
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target/linux/ath79/generic')
-rwxr-xr-x | target/linux/ath79/generic/base-files/etc/board.d/01_leds | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/target/linux/ath79/generic/base-files/etc/board.d/01_leds b/target/linux/ath79/generic/base-files/etc/board.d/01_leds index 8e3b5e17af..d4fdb423ab 100755 --- a/target/linux/ath79/generic/base-files/etc/board.d/01_leds +++ b/target/linux/ath79/generic/base-files/etc/board.d/01_leds @@ -125,10 +125,6 @@ glinet,6408|\ glinet,6416) ucidef_set_led_netdev "lan" "LAN" "gl-inet:green:lan" "eth0" ;; -glinet,gl-ar150) - ucidef_set_led_netdev "wan" "WAN" "$boardname:green:wan" "eth1" - ucidef_set_led_switch "lan" "LAN" "$boardname:green:lan" "switch0" "0x02" - ;; glinet,gl-ar300m-lite) ucidef_set_led_netdev "lan" "LAN" "gl-ar300m-lite:green:lan" "eth0" ;; |