diff options
author | David Bauer <mail@david-bauer.net> | 2019-08-30 20:11:45 +0200 |
---|---|---|
committer | David Bauer <mail@david-bauer.net> | 2019-09-07 00:59:41 +0200 |
commit | f057133349847929080af18ac7687e19d125b7dd (patch) | |
tree | 0b7aac418ca78b40523f33a5eaf9fa9b68f661a4 /target/linux/ramips/base-files | |
parent | b8b62b8506f5465331e749799c36ef49160036f4 (diff) | |
download | upstream-f057133349847929080af18ac7687e19d125b7dd.tar.gz upstream-f057133349847929080af18ac7687e19d125b7dd.tar.bz2 upstream-f057133349847929080af18ac7687e19d125b7dd.zip |
ramips: use phy trigger for various Netgear boards
This commit switches the default trigger for the WiFi LED from a netdev
trigger on "wlan0" to a wireless-phy based trigger. THis allows the LED
to work, even when the wireless interface is not named "wlan0" without
modifiying the LED settings.
Signed-off-by: David Bauer <mail@david-bauer.net>
(cherry picked from commit fa46c9b208fe3833f085e9f6ddf7c492b16f6c34)
Diffstat (limited to 'target/linux/ramips/base-files')
-rwxr-xr-x | target/linux/ramips/base-files/etc/board.d/01_leds | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/target/linux/ramips/base-files/etc/board.d/01_leds b/target/linux/ramips/base-files/etc/board.d/01_leds index 35d046cc90..f5e914c518 100755 --- a/target/linux/ramips/base-files/etc/board.d/01_leds +++ b/target/linux/ramips/base-files/etc/board.d/01_leds @@ -278,7 +278,6 @@ r6220|\ netgear,r6350|\ wndr3700v5) ucidef_set_led_switch "wan" "wan" "$boardname:green:wan" "switch0" "0x10" - set_wifi_led "$boardname:green:wifi" ;; re350-v1) ucidef_set_led_netdev "wifi2g" "Wifi 2.4G" "$boardname:blue:wifi2G" "wlan0" |