From: Gabor Juhos Date: Sun, 20 Oct 2013 15:59:04 +0000 (+0000) Subject: ar71xx: fix WLAN 5 GHz LED init on dir-825-c1 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=68e13de37d2d173714c9908d622b3d9a13fa4ee2;p=openwrt%2Fstaging%2Fstintel.git ar71xx: fix WLAN 5 GHz LED init on dir-825-c1 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 Signed-off-by: Gabor Juhos SVN-Revision: 38482 --- diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-dir-825-c1.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-dir-825-c1.c index af9805a574..9c4c1a8b3f 100644 --- a/target/linux/ar71xx/files/arch/mips/ath79/mach-dir-825-c1.c +++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-dir-825-c1.c @@ -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(); }