diff options
author | Stefan Lippers-Hollmann <s.l-h@gmx.de> | 2018-06-28 14:04:46 +0200 |
---|---|---|
committer | Mathias Kresin <dev@kresin.me> | 2018-06-28 18:39:57 +0200 |
commit | 7c7ca66109468b57f06d20eafbb9523aecc91706 (patch) | |
tree | 01449755dd8e4e1874948008c1a329b7e52bb796 /target/linux/ipq806x/base-files/etc/board.d | |
parent | 19c7e950af8edbc3f26114266b6007851e381b5b (diff) | |
download | upstream-7c7ca66109468b57f06d20eafbb9523aecc91706.tar.gz upstream-7c7ca66109468b57f06d20eafbb9523aecc91706.tar.bz2 upstream-7c7ca66109468b57f06d20eafbb9523aecc91706.zip |
ipq806x: switch the NBG6817 wlan LEDs from amber to white
The original device support patch configured the amber wlan LEDs (which
are meant as error indicator by the OEM) controlled by the SOC's GPIO
as wlan traffic indicators, as the correct white wlan LEDs are
connected to GPIOs controlled by the QCA9984/ ath10k wlan cards were
not accessible. The recent addition of GPIO/ LED support to ath10k now
makes it possible to use the correct white LEDs instead - and
"mac80211: ath10k: use tpt LED trigger by default" also enables them by
default. While both LEDs are independent of each other (two separate
LEDs sharing one light tunnel), triggering both on wlan traffic is not
the intended behaviour (bright yellow light).
Tested on the ZyXEL NBG6817.
Signed-off-by: Stefan Lippers-Hollmann <s.l-h@gmx.de>
Diffstat (limited to 'target/linux/ipq806x/base-files/etc/board.d')
-rwxr-xr-x | target/linux/ipq806x/base-files/etc/board.d/01_leds | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/target/linux/ipq806x/base-files/etc/board.d/01_leds b/target/linux/ipq806x/base-files/etc/board.d/01_leds index fea4d7c8bb..769afb8b85 100755 --- a/target/linux/ipq806x/base-files/etc/board.d/01_leds +++ b/target/linux/ipq806x/base-files/etc/board.d/01_leds @@ -43,8 +43,6 @@ tplink,vr2600v) ucidef_set_led_switch "wan" "wan" "${boardname}:white:wan" "switch0" "0x20" ;; zyxel,nbg6817) - ucidef_set_led_wlan "wlan2g" "WLAN2G" "${boardname}:amber:wifi2g" "phy1tpt" - ucidef_set_led_wlan "wlan5g" "WLAN5G" "${boardname}:amber:wifi5g" "phy0tpt" ucidef_set_led_netdev "wan" "WAN" "${boardname}:white:internet" "eth1" ;; *) |