From b503ba85d082c9b69600c91ee423f8e64fea410e Mon Sep 17 00:00:00 2001 From: AmadeusGhost <42570690+AmadeusGhost@users.noreply.github.com> Date: Thu, 20 Aug 2020 18:20:30 +0800 Subject: [PATCH] ramips: ac2100: fix led config --- target/linux/ramips/mt7621/base-files/etc/board.d/01_leds | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/target/linux/ramips/mt7621/base-files/etc/board.d/01_leds b/target/linux/ramips/mt7621/base-files/etc/board.d/01_leds index 626ae54abc..6ee04bf2f6 100755 --- a/target/linux/ramips/mt7621/base-files/etc/board.d/01_leds +++ b/target/linux/ramips/mt7621/base-files/etc/board.d/01_leds @@ -90,10 +90,10 @@ xiaomi,mir3p) ucidef_set_led_switch "lan3-amber" "LAN3 (amber)" "$boardname:amber:lan3" "switch0" "0x08" "0x08" ;; xiaomi,mi-router-ac2100) - ucidef_set_led_netdev "wan" "wan" "$boardname:blue:wan" "wan" + ucidef_set_led_switch "wan" "wan" "$boardname:blue:wan" "switch0" "0x1" ;; xiaomi,redmi-router-ac2100) - ucidef_set_led_netdev "wan" "wan" "$boardname:white:wan" "wan" + ucidef_set_led_switch "wan" "wan" "$boardname:white:wan" "switch0" "0x1" ;; xzwifi,creativebox-v1) ucidef_set_led_switch "internet" "internet" "$boardname:blue:internet" "switch0" "0x10"