openwrt/target/linux/ramips
Adrian Schmutzler 2230fe3922 ramips: remove set_wifi_led function in 01_leds
While we mostly use the ucidef_set_led_* functions directly in 01_leds
we still have the set_wifi_led function in parallel for several old
devices. This is not only inconsistent with the other definitions,
it also links to the wlan0 interface instead of using a phy trigger
which would be independent of the interface name (and is used for
all newer devices anyway). Apart from that, the standard names
"wifi" and "wifi-led" are not very helpful in a world with different
radio bands either.

Thus, this patch removes the set_wifi_led function and puts the
relevant commands into the cases explicitly. This makes the
mechanism used more evident and will hopefully lead to some future
improvements or at least prevent some copy-pasting of the old
setups.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-10-02 14:51:57 +02:00
..
base-files/etc ramips: remove model name from LED labels 2020-10-02 14:51:57 +02:00
dts ramips: remove option to set WiFi LED via aliases 2020-10-02 14:51:57 +02:00
files/drivers ramips: remove further mt7621 code from local ethernet driver 2020-08-26 23:58:01 +02:00
image ramips: add support for Linksys EA7300 v2 2020-09-23 12:17:32 +02:00
mt76x8 ramips: remove set_wifi_led function in 01_leds 2020-10-02 14:51:57 +02:00
mt7620 ramips: remove set_wifi_led function in 01_leds 2020-10-02 14:51:57 +02:00
mt7621 ramips: remove set_wifi_led function in 01_leds 2020-10-02 14:51:57 +02:00
patches-5.4 kernel: bump 5.4 to 5.4.66 2020-09-19 12:41:29 +02:00
rt288x ramips: remove set_wifi_led function in 01_leds 2020-10-02 14:51:57 +02:00
rt305x ramips: remove set_wifi_led function in 01_leds 2020-10-02 14:51:57 +02:00
rt3883 ramips: remove set_wifi_led function in 01_leds 2020-10-02 14:51:57 +02:00
Makefile ramips: switch rt305x subtarget to kernel 5.4 2020-08-05 23:27:35 +02:00
modules.mk ramips: fix path for dma-ralink and mtk-hsdma 2020-04-05 18:16:17 +08:00