mcs814x: dlan-usb-extender: fix usbdev trigger
authorFlorian Fainelli <florian@openwrt.org>
Mon, 2 Sep 2013 18:25:01 +0000 (18:25 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Mon, 2 Sep 2013 18:25:01 +0000 (18:25 +0000)
Every device I connect to the USB port is detected as 2-1, not 1-1.
So adjust the default setting accordingly.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 37882

target/linux/mcs814x/base-files/etc/uci-defaults/01_leds

index 8ab8b4e76320cf58bcf1c9bd9b212fa87053d40c..0c6972d8be796a56774998ce98597b56ff374d3f 100644 (file)
@@ -10,7 +10,7 @@ board=$(mcs814x_board_name)
 
 case "$board" in
 dlan-usb-extender)
-       ucidef_set_led_usbdev "usb" "USB" "dlan-usb-extender:green:usb" "1-1"
+       ucidef_set_led_usbdev "usb" "USB" "dlan-usb-extender:green:usb" "2-1"
        ;;
 rbt-832)
        ucidef_set_led_usbdev "usb1" "USB1" "rbt-832:red:usb0" "1-1"