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>
SVN-Revision: 38482

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

index af9805a574bd617d9b1830697fc60700932e702e..9c4c1a8b3f59312fef1924fbf2d30f07f3e090d6 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();
 }