ar71xx: make 2.4GHz wlan LED work on the WR2543N
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 5 Jul 2012 16:25:26 +0000 (16:25 +0000)
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
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.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32615 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

index f282a03..c650e5a 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);