diff mbox

[OpenWrt-Devel] ramips: fix default led configuration for rt-n14u

Message ID 1421347620-15235-1-git-send-email-lobl.pavel@gmail.com
State Accepted
Headers show

Commit Message

Pavel Löbl Jan. 15, 2015, 6:47 p.m. UTC
use new helper function to generate default led configuration

Signed-off-by: Pavel Löbl <lobl.pavel@gmail.com>
---
 target/linux/ramips/base-files/etc/board.d/01_leds | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox

Patch

diff --git a/target/linux/ramips/base-files/etc/board.d/01_leds b/target/linux/ramips/base-files/etc/board.d/01_leds
index 405a6c0..c42b31f 100755
--- a/target/linux/ramips/base-files/etc/board.d/01_leds
+++ b/target/linux/ramips/base-files/etc/board.d/01_leds
@@ -191,8 +191,8 @@  case $board in
 		;;
 	rt-n14u)
 		ucidef_set_led_default "power" "power" "asus:blue:power" "1"
-		ucidef_set_led_interafce "lan" "asus:blue:lan"
-		ucidef_set_led_netdev "wan" "asus:blue:wan"
+		ucidef_set_led_netdev "lan" "lan" "asus:blue:lan" eth0.1
+		ucidef_set_led_netdev "wan" "wan" "asus:blue:wan" eth0.2
 		set_wifi_led "asus:blue:air"
 		set_usb_led "asus:blue:usb"
 		;;