mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-19 11:16:32 +00:00
mediatek-filogic: fix wax220 wifi leds
Some checks are pending
Build Kernel / Build all affected Kernels (push) Waiting to run
Some checks are pending
Build Kernel / Build all affected Kernels (push) Waiting to run
The WAX220 does have a 2.4GHz and 5GHz wifi led, which was set to trigger on netdev before. This commit changes this to trigger on activity of the respective radio Signed-off-by: Florian Maurer <f.maurer@outlook.de> Link: https://github.com/openwrt/openwrt/pull/17627 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
This commit is contained in:
parent
0f8a5a5fd6
commit
99431e3150
@ -67,6 +67,7 @@
|
|||||||
wlan2g_blue {
|
wlan2g_blue {
|
||||||
gpios = <&pio 1 GPIO_ACTIVE_LOW>;
|
gpios = <&pio 1 GPIO_ACTIVE_LOW>;
|
||||||
label = "blue:wlan2g";
|
label = "blue:wlan2g";
|
||||||
|
linux,default-trigger = "phy0tpt";
|
||||||
};
|
};
|
||||||
|
|
||||||
lan_green {
|
lan_green {
|
||||||
@ -84,6 +85,7 @@
|
|||||||
wlan5g_blue {
|
wlan5g_blue {
|
||||||
gpios = <&pio 2 GPIO_ACTIVE_LOW>;
|
gpios = <&pio 2 GPIO_ACTIVE_LOW>;
|
||||||
label = "blue:wlan5g";
|
label = "blue:wlan5g";
|
||||||
|
linux,default-trigger = "phy1tpt";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -66,8 +66,6 @@ mercusys,mr90x-v1-ubi)
|
|||||||
;;
|
;;
|
||||||
netgear,wax220)
|
netgear,wax220)
|
||||||
ucidef_set_led_netdev "eth0" "LAN" "green:lan" "eth0"
|
ucidef_set_led_netdev "eth0" "LAN" "green:lan" "eth0"
|
||||||
ucidef_set_led_netdev "wlan2g" "WLAN2G" "blue:wlan2g" "phy0-ap0"
|
|
||||||
ucidef_set_led_netdev "wlan5g" "WLAN5G" "blue:wlan5g" "phy1-ap0"
|
|
||||||
;;
|
;;
|
||||||
nokia,ea0326gmp)
|
nokia,ea0326gmp)
|
||||||
ucidef_set_led_netdev "wan" "WAN" "green:wan" "eth1" "link"
|
ucidef_set_led_netdev "wan" "WAN" "green:wan" "eth1" "link"
|
||||||
|
Loading…
Reference in New Issue
Block a user