[openwrt/openwrt] ipq806x: fix LED names of TP-Link Talon AD2700

LEDE Commits lede-commits at lists.infradead.org
Tue Jan 5 11:27:46 EST 2021


dangole pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/f4c64937cf3941f6c6ad6c882de02d1792f04812

commit f4c64937cf3941f6c6ad6c882de02d1792f04812
Author: Daniel Golle <daniel at makrotopia.org>
AuthorDate: Tue Jan 5 16:24:42 2021 +0000

    ipq806x: fix LED names of TP-Link Talon AD2700
    
    While the underscore in the name of the USB LEDs was removed from DTS,
    /etc/board.d/01_leds also has to reflect that change.
    
    Fixes: 28fd279e5d ("ipq806x: some corrections for TP-Link Talon AD7200")
    Signed-off-by: Daniel Golle <daniel at makrotopia.org>
---
 target/linux/ipq806x/base-files/etc/board.d/01_leds | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/target/linux/ipq806x/base-files/etc/board.d/01_leds b/target/linux/ipq806x/base-files/etc/board.d/01_leds
index a03a056d83..284f9e2c1d 100755
--- a/target/linux/ipq806x/base-files/etc/board.d/01_leds
+++ b/target/linux/ipq806x/base-files/etc/board.d/01_leds
@@ -40,8 +40,8 @@ netgear,r7800)
 	ucidef_set_led_ide "esata" "eSATA" "white:esata"
 	;;
 tplink,ad7200)
-	ucidef_set_led_usbport "usb1" "USB 1" "blue:usb_1" "usb1-port1" "usb2-port1"
-	ucidef_set_led_usbport "usb2" "USB 2" "blue:usb_3" "usb3-port1" "usb4-port1"
+	ucidef_set_led_usbport "usb1" "USB 1" "blue:usb1" "usb1-port1" "usb2-port1"
+	ucidef_set_led_usbport "usb2" "USB 2" "blue:usb3" "usb3-port1" "usb4-port1"
 	ucidef_set_led_switch "wan" "wan" "blue:wan" "switch0" "0x02"
 	ucidef_set_led_switch "lan" "lan" "blue:lan" "switch0" "0x3c"
 	ucidef_set_led_wlan "wlan2g" "wlan2g" "blue:wlan2g" "phy2tpt"



More information about the lede-commits mailing list