aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/files/arch
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
commitcdd38c0a64e43441865ac7c8cf096154b60daacf (patch)
treec147289f86bec6ba334b3d808268f7b149a6ebfc /target/linux/ar71xx/files/arch
parentdfedcc2bede098a03b614b2c5bd62dd77237d512 (diff)
downloadupstream-cdd38c0a64e43441865ac7c8cf096154b60daacf.tar.gz
upstream-cdd38c0a64e43441865ac7c8cf096154b60daacf.tar.bz2
upstream-cdd38c0a64e43441865ac7c8cf096154b60daacf.zip
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. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32615 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/files/arch')
-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 f282a03d84..c650e5a610 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);