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 <[email protected]>
---
Resent because openwrt mailing list rejected first mail.

 target/linux/ar71xx/files/arch/mips/ath79/mach-mr600.c | 1 +
 1 file changed, 1 insertion(+)

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);
-- 
2.1.0.rc1
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to