[OpenWrt-Devel] [PATCH] ar71xx: Fix GL.iNet WLAN LED

Álvaro Fernández Rojas noltari at gmail.com
Mon Jul 21 14:54:14 EDT 2014


LED script expects WLAN LED to be "gl-connect:red:wlan".

Signed-off-by: Álvaro Fernández Rojas <noltari at gmail.com>
---
diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-gl-inet.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-gl-inet.c
index ef1b54f..0713f14 100644
--- a/target/linux/ar71xx/files/arch/mips/ath79/mach-gl-inet.c
+++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-gl-inet.c
@@ -41,7 +41,7 @@ static struct flash_platform_data gl_inet_flash_data = {
 
 static struct gpio_led gl_inet_leds_gpio[] __initdata = {
 	{
-		.name = "gl-connect:red:wireless",
+		.name = "gl-connect:red:wlan",
 		.gpio = GL_INET_GPIO_LED_WLAN,
 		.active_low = 0,
 	},
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list