summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-07-05 16:25:26 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-07-05 16:25:26 +0000
commit7c932579fa099e0c7a8fbdea763b5526170c99fa (patch)
tree6976fe2a789e24740f21e2e953a8dc89d750242d
parent17f5287b0ef1201854f67da45535b97deb720e26 (diff)
downloadmtk-20170518-7c932579fa099e0c7a8fbdea763b5526170c99fa.zip
mtk-20170518-7c932579fa099e0c7a8fbdea763b5526170c99fa.tar.gz
mtk-20170518-7c932579fa099e0c7a8fbdea763b5526170c99fa.tar.bz2
ar71xx: make 2.4GHz wlan LED work on the WR2543N
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
-rw-r--r--target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wr2543n.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wr2543n.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wr2543n.c
index f282a03..c650e5a 100644
--- a/target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wr2543n.c
+++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wr2543n.c
@@ -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);