summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2014-08-18 13:09:14 +0000
committerJohn Crispin <john@openwrt.org>2014-08-18 13:09:14 +0000
commit2c6768219221954c731b14f43f57840a96002a03 (patch)
treead0eae2546694b6cd63619f060674fe45741b50b /target
parentb796ff6ef37d4a1498cd416a7f02e392e295dc77 (diff)
downloadmtk-20170518-2c6768219221954c731b14f43f57840a96002a03.zip
mtk-20170518-2c6768219221954c731b14f43f57840a96002a03.tar.gz
mtk-20170518-2c6768219221954c731b14f43f57840a96002a03.tar.bz2
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> SVN-Revision: 42184
Diffstat (limited to 'target')
-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 4969564..701330c 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);