aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2014-09-01 13:21:27 +0000
committerJohn Crispin <blogic@openwrt.org>2014-09-01 13:21:27 +0000
commit036b7c2ce397b17953b652bd834ccaec75ab837b (patch)
tree1671c0e21e7c6ddd4dda662c5ce4d4dc1b5325ba
parent5f04f13a8db7545c01f2bbccbcaf0fc6e11af345 (diff)
downloadupstream-036b7c2ce397b17953b652bd834ccaec75ab837b.tar.gz
upstream-036b7c2ce397b17953b652bd834ccaec75ab837b.tar.bz2
upstream-036b7c2ce397b17953b652bd834ccaec75ab837b.zip
ar71xx: Fix 2.4G WiFi LED of the OpenMesh MR600 board
The OpenMesh MR600(v1) can only enable the 2.4G WiFi PHY LED through the mini-PCIe device. Not configuring the LED pin inside the platform data makes it impossible to configure it through any standard OpenWrt tool. Signed-off-by: Sven Eckelmann <sven@open-mesh.com> Backport of r42184 git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42363 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--target/linux/ar71xx/files/arch/mips/ath79/mach-mr600.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-mr600.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-mr600.c
index 496956446b..701330cebd 100644
--- a/target/linux/ar71xx/files/arch/mips/ath79/mach-mr600.c
+++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-mr600.c
@@ -164,6 +164,7 @@ static void __init mr600_base_setup(unsigned num_leds, struct gpio_led *leds)
static void __init mr600_setup(void)
{
mr600_base_setup(ARRAY_SIZE(mr600_leds_gpio), mr600_leds_gpio);
+ ap9x_pci_setup_wmac_led_pin(0, 0);
}
MIPS_MACHINE(ATH79_MACH_MR600, "MR600", "OpenMesh MR600", mr600_setup);