diff options
author | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2020-05-14 15:16:57 +0200 |
---|---|---|
committer | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2020-05-18 21:51:06 +0200 |
commit | a1f0fd8cba4d9233b76542fbf54be01e2cc9d5c0 (patch) | |
tree | daabdd90de971ac5cc5c9f2a753d044893c3fd12 /target/linux/ramips/mt7620/base-files | |
parent | 0b34a36da92dd1f60722555afa90142aff884432 (diff) | |
download | upstream-a1f0fd8cba4d9233b76542fbf54be01e2cc9d5c0.tar.gz upstream-a1f0fd8cba4d9233b76542fbf54be01e2cc9d5c0.tar.bz2 upstream-a1f0fd8cba4d9233b76542fbf54be01e2cc9d5c0.zip |
ramips: use DT trigger for 2G WiFi on ASUS RT-AC51U
Like for the RT-AC54U, this uses a DT trigger for WiFi also at the
RT-AC51U. While at it, rename node and label to wifi2g.
Note that the 5g WiFi LED still isn't supported (see PR #3017 for
further details: https://github.com/openwrt/openwrt/pull/3017 )
Tested-by: Davide Fioravanti <pantanastyle@gmail.com>
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target/linux/ramips/mt7620/base-files')
-rwxr-xr-x | target/linux/ramips/mt7620/base-files/etc/board.d/01_leds | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/target/linux/ramips/mt7620/base-files/etc/board.d/01_leds b/target/linux/ramips/mt7620/base-files/etc/board.d/01_leds index d332e02bbd..c1deae59e3 100755 --- a/target/linux/ramips/mt7620/base-files/etc/board.d/01_leds +++ b/target/linux/ramips/mt7620/base-files/etc/board.d/01_leds @@ -47,12 +47,6 @@ asus,rt-n14u) ucidef_set_led_netdev "wan" "wan" "$boardname:blue:wan" eth0.2 set_wifi_led "$boardname:blue:air" ;; -asus,rt-ac51u|\ -kingston,mlw221|\ -kingston,mlwg2|\ -sanlinking,d240) - set_wifi_led "$boardname:blue:wifi" - ;; bdcom,wap2100-sk) set_wifi_led "$boardname:green:wlan2g" ;; @@ -139,6 +133,11 @@ kimax,u35wf) set_wifi_led "$boardname:blue:wifi" ucidef_set_led_netdev "eth" "ETH" "$boardname:green:eth" "eth0" ;; +kingston,mlw221|\ +kingston,mlwg2|\ +sanlinking,d240) + set_wifi_led "$boardname:blue:wifi" + ;; lava,lr-25g001) ucidef_set_led_netdev "wlan2g" "WiFi 2.4GHz" "$boardname:green:wlan2g" "wlan1" ucidef_set_led_netdev "wlan5g" "WiFi 5GHz" "$boardname:green:wlan5g" "wlan0" |