[openwrt/openwrt] lantiq-xrx200: fix wan LED on o2 box 6431
LEDE Commits
lede-commits at lists.infradead.org
Wed Jan 4 14:52:30 PST 2023
hauke pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/0820d620123a03b6db6642acb6e950d22ffb030f
commit 0820d620123a03b6db6642acb6e950d22ffb030f
Author: Florian Maurer <f.maurer at outlook.de>
AuthorDate: Tue Dec 27 00:30:07 2022 +0100
lantiq-xrx200: fix wan LED on o2 box 6431
The WIFI LED already worked for me with the latest openwrt 22.03 version.
Wifi LED did not with an older 22.x version (in gluon - there phy0radio did nothing but phy0tpt did show activity
the WAN interface has the name "wan" and not "pppoe-wan" on this device
fixes #7757 (and FS#2987)
Signed-off-by: Florian Maurer <f.maurer at outlook.de>
---
target/linux/lantiq/xrx200/base-files/etc/board.d/01_leds | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/target/linux/lantiq/xrx200/base-files/etc/board.d/01_leds b/target/linux/lantiq/xrx200/base-files/etc/board.d/01_leds
index bac3ed2b53..8f59538b83 100644
--- a/target/linux/lantiq/xrx200/base-files/etc/board.d/01_leds
+++ b/target/linux/lantiq/xrx200/base-files/etc/board.d/01_leds
@@ -28,7 +28,10 @@ arcadyan,arv7519rw22)
ucidef_set_led_netdev "lan" "lan" "green:lan" "eth0.1"
;;
arcadyan,vgv7510kw22-nor|\
-arcadyan,vgv7510kw22-brn|\
+arcadyan,vgv7510kw22-brn)
+ ucidef_set_led_netdev "internet" "internet" "$led_internet" "wan"
+ ucidef_set_led_wlan "wifi" "wifi" "green:wlan" "phy0radio"
+ ;;
zyxel,p-2812hnu-f1|\
zyxel,p-2812hnu-f3)
ucidef_set_led_wlan "wifi" "wifi" "green:wlan" "phy0radio"
More information about the lede-commits
mailing list