From: Sungbo Eo Date: Sun, 15 Dec 2019 09:16:55 +0000 (+0900) Subject: ath79: migrate LED paths of TL-WDR4300 board X-Git-Tag: v19.07.0~59 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=3243523c46e059bde4f826531d5b0991eacdd1f3;p=oweals%2Fopenwrt.git ath79: migrate LED paths of TL-WDR4300 board TL-WDR4300 board uses only green LED names in DTSI. This patch adds migration for them. The actual LED colors on the devices have been reported to vary across subrevisions (v1.x). Despite, the USB LEDs on the back might have different color than the other LEDs on the front. Signed-off-by: Sungbo Eo [extended commit message] Signed-off-by: Adrian Schmutzler (cherry picked from commit 01d39cd18c4035e362f179548cd2c051aac03042) --- diff --git a/target/linux/ath79/base-files/etc/uci-defaults/04_led_migration b/target/linux/ath79/base-files/etc/uci-defaults/04_led_migration index a291bf8c7f..2e1be7b0e3 100644 --- a/target/linux/ath79/base-files/etc/uci-defaults/04_led_migration +++ b/target/linux/ath79/base-files/etc/uci-defaults/04_led_migration @@ -17,7 +17,10 @@ tplink,archer-c7-v4|\ tplink,archer-c7-v5) migrate_leds "^$boardonly:=tp-link:" ;; -tplink,archer-c7-v2) +tplink,archer-c7-v2|\ +tplink,tl-wdr3600-v1|\ +tplink,tl-wdr4300-v1|\ +tplink,tl-wdr4300-v1-il) migrate_leds ":blue:=:green:" ;; wd,mynet-n750)