ar71xx: fix WLAN 5 GHz LED init on dir-825-c1
authorGabor Juhos <juhosg@openwrt.org>
Sun, 20 Oct 2013 15:59:04 +0000 (15:59 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Sun, 20 Oct 2013 15:59:04 +0000 (15:59 +0000)
Fixes the 5 GHz LED.

The same function has no effect on the 2.4 GHz LED at all, so we might
as well remove it.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38482 3c298f89-4303-0410-b956-a3cf2f4a3e73

target/linux/ar71xx/files/arch/mips/ath79/mach-dir-825-c1.c

index af9805a..9c4c1a8 100644 (file)
@@ -217,8 +217,7 @@ static void __init dir825c1_setup(void)
        ath79_register_leds_gpio(-1, ARRAY_SIZE(dir825c1_leds_gpio),
                                 dir825c1_leds_gpio);
 
-       ap9x_pci_setup_wmac_led_pin(0, 13);
-       ap9x_pci_setup_wmac_led_pin(1, 32);
+       ap9x_pci_setup_wmac_led_pin(0, 0);
 
        dir825c1_generic_setup();
 }