From 03cdbb20404410ef9cd0daea45fe3f17e1b745b5 Mon Sep 17 00:00:00 2001 From: Adrian Schmutzler Date: Mon, 17 Aug 2020 14:57:52 +0200 Subject: ramips: fix LED labels for Asus RT-AC65P The leds block was copied over from the RT-AC85P DTS to the common DTSI while keeping the device-specific model name in the label. This moves the LEDs back to the DTS files and adjusts the names to properly resemble the model name of the devices used at, just like it is handled on most other devices. Fixes: 7c5f712e4fec ("ramips: add support for Asus RT-AC65P") Signed-off-by: Adrian Schmutzler --- .../linux/ramips/mt7621/base-files/etc/uci-defaults/04_led_migration | 3 +++ 1 file changed, 3 insertions(+) (limited to 'target/linux/ramips/mt7621/base-files/etc/uci-defaults') diff --git a/target/linux/ramips/mt7621/base-files/etc/uci-defaults/04_led_migration b/target/linux/ramips/mt7621/base-files/etc/uci-defaults/04_led_migration index f9cf3eae0a..4b298654b6 100644 --- a/target/linux/ramips/mt7621/base-files/etc/uci-defaults/04_led_migration +++ b/target/linux/ramips/mt7621/base-files/etc/uci-defaults/04_led_migration @@ -5,6 +5,9 @@ board=$(board_name) boardonly="${board##*,}" case "$board" in +asus,rt-ac65p) + migrate_leds "^rt-ac85p:=rt-ac65p:" + ;; mikrotik,routerboard-750gr3) migrate_leds "^rb750gr3:=$boardonly:" ;; -- cgit v1.2.3