summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Maurer <f.maurer@outlook.de>2023-01-05 15:29:24 +0100
committerHauke Mehrtens <hauke@hauke-m.de>2023-01-06 19:38:22 +0100
commit4b7f9e42e2bff91d8eec2f195d0bb3bb6f6c43e2 (patch)
treea00293e392e5aea3b684cfd7a7ec02b53fb0d55a
parent7c10b7b6f0de4250ea9d68e95a834e4fc0d87e0f (diff)
downloadopenwrt-4b7f9e42e2bff91d8eec2f195d0bb3bb6f6c43e2.tar.gz
openwrt-4b7f9e42e2bff91d8eec2f195d0bb3bb6f6c43e2.tar.bz2
openwrt-4b7f9e42e2bff91d8eec2f195d0bb3bb6f6c43e2.zip
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@outlook.de> (cherry picked from commit 0820d620123a03b6db6642acb6e950d22ffb030f) Signed-off-by: Jan-Niklas Burfeind <git@aiyionpri.me>
-rw-r--r--target/linux/lantiq/xrx200/base-files/etc/board.d/01_leds5
1 files changed, 4 insertions, 1 deletions
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"