ar71xx: fix nbg6716 power and usb led
authorJohn Crispin <john@openwrt.org>
Mon, 9 Feb 2015 12:16:43 +0000 (12:16 +0000)
committerJohn Crispin <john@openwrt.org>
Mon, 9 Feb 2015 12:16:43 +0000 (12:16 +0000)
Signed-off-by: John Crispin <blogic@openwrt.org>
Signed-off-by: Marcin Mikolajczak <gr4ffy@gmail.com>
SVN-Revision: 44358

target/linux/ar71xx/base-files/etc/diag.sh
target/linux/ar71xx/files/arch/mips/ath79/mach-nbg6716.c

index 03ca8640e73c1f9221332f1c01a30801eb56aefc..c435af19cca7895fdcd2e0b8fd254df1789f99e5 100644 (file)
@@ -130,7 +130,7 @@ get_status_led() {
                status_led="nbg460n:green:power"
                ;;
        nbg6716)
-               status_led="nbg6716:white:power"
+               status_led="zyxel:white:power"
                ;;
        om2p | \
        om2pv2 | \
index e102f2c8af8ac2cbbddd893cfe0fabced9d17b8b..afde87f9d99931073324c4c0256d7dd5a32045a3 100644 (file)
@@ -43,8 +43,8 @@
 
 #define NBG6716_GPIO_LED_INTERNET      18
 #define NBG6716_GPIO_LED_POWER         15
-#define NBG6716_GPIO_LED_USB0          4
-#define NBG6716_GPIO_LED_USB1          13
+#define NBG6716_GPIO_LED_USB0          13
+#define NBG6716_GPIO_LED_USB1          4
 #define NBG6716_GPIO_LED_WIFI2G                19
 #define NBG6716_GPIO_LED_WIFI5G                17
 #define NBG6716_GPIO_LED_WPS           21