[openwrt/openwrt] bmips: fix LAN LEDs configuration
LEDE Commits
lede-commits at lists.infradead.org
Sat Jun 7 12:15:39 PDT 2025
noltari pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/975f4de1c847488f17f418831b4f91073b33d73b
commit 975f4de1c847488f17f418831b4f91073b33d73b
Author: Álvaro Fernández Rojas <noltari at gmail.com>
AuthorDate: Sat Jun 7 21:13:23 2025 +0200
bmips: fix LAN LEDs configuration
Commit Fixes: 15430a13485b ("bmips: use wan ports as standalone ports")
removed bridge devices and therefore switch.1 no longer exists, so let's
use br-lan instead.
Fixes: 15430a13485b ("bmips: use wan ports as standalone ports")
Signed-off-by: Álvaro Fernández Rojas <noltari at gmail.com>
---
target/linux/bmips/bcm6368/base-files/etc/board.d/01_leds | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/target/linux/bmips/bcm6368/base-files/etc/board.d/01_leds b/target/linux/bmips/bcm6368/base-files/etc/board.d/01_leds
index 9af5257c11..122a4b8f65 100644
--- a/target/linux/bmips/bcm6368/base-files/etc/board.d/01_leds
+++ b/target/linux/bmips/bcm6368/base-files/etc/board.d/01_leds
@@ -15,7 +15,7 @@ comtrend,wap-5813n)
;;
netgear,dgnd3700-v1 |\
netgear,dgnd3800b)
- ucidef_set_led_netdev "lan" "LAN" "green:lan" "switch.1"
+ ucidef_set_led_netdev "lan" "LAN" "green:lan" "br-lan"
ucidef_set_led_netdev "wan" "WAN" "green:wan" "wan"
ucidef_set_led_netdev "wlan0" "WIFI2G" "green:wifi2g" "phy0-ap0"
ucidef_set_led_netdev "wlan1" "WIFI5G" "blue:wifi5g" "phy1-ap0"
@@ -23,7 +23,7 @@ netgear,dgnd3800b)
ucidef_set_led_usbport "usb2" "USB2" "green:usb2" "usb1-port2" "usb2-port2"
;;
netgear,evg2000)
- ucidef_set_led_netdev "lan" "LAN" "green:lan" "switch.1"
+ ucidef_set_led_netdev "lan" "LAN" "green:lan" "br-lan"
ucidef_set_led_netdev "wan" "WAN" "green:wan" "wan"
ucidef_set_led_usbdev "usb" "USB" "green:usb" "usb1-port1" "usb2-port1" "usb1-port2" "usb2-port2"
;;
More information about the lede-commits
mailing list