ar71xx: make 2.4GHz wlan LED work on the WR2543N
authorGabor Juhos <juhosg@openwrt.org>
Thu, 5 Jul 2012 16:25:26 +0000 (16:25 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Thu, 5 Jul 2012 16:25:26 +0000 (16:25 +0000)
Because ath9k does not supports separate LEDs for
different bands yet, the 2.4GHz LED will show the
activity, even if the 5GHz band is selected.

SVN-Revision: 32615

target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wr2543n.c

index f282a03d84369b8f74e427ac3af87e213fcd8d0d..c650e5a6105e079573f412caca1824ec27923537 100644 (file)
@@ -112,6 +112,8 @@ static void __init tl_wr2543n_setup(void)
                                        ARRAY_SIZE(tl_wr2543n_gpio_keys),
                                        tl_wr2543n_gpio_keys);
        ath79_register_usb();
+
+       ap9x_pci_setup_wmac_led_pin(0, 0);
        ap91_pci_init(eeprom, mac);
 
        ath79_init_mac(ath79_eth0_data.mac_addr, mac, -1);