aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/files/arch
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-10-19 17:42:22 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-10-19 17:42:22 +0000
commitb530d9d2b35eb19dd7ce05ecb9e4273550668ef6 (patch)
treefd1426561d14d1466c113fb3b865114db8376997 /target/linux/ramips/files/arch
parent95b5c6800758146da8829e56b03f9b12925490cc (diff)
downloadupstream-b530d9d2b35eb19dd7ce05ecb9e4273550668ef6.tar.gz
upstream-b530d9d2b35eb19dd7ce05ecb9e4273550668ef6.tar.bz2
upstream-b530d9d2b35eb19dd7ce05ecb9e4273550668ef6.zip
ramips: disable 5GHz on the built in wireless mac of the TEW-69{1,2}GR
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 33864
Diffstat (limited to 'target/linux/ramips/files/arch')
-rw-r--r--target/linux/ramips/files/arch/mips/ralink/rt3883/mach-tew-691gr.c1
-rw-r--r--target/linux/ramips/files/arch/mips/ralink/rt3883/mach-tew-692gr.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/target/linux/ramips/files/arch/mips/ralink/rt3883/mach-tew-691gr.c b/target/linux/ramips/files/arch/mips/ralink/rt3883/mach-tew-691gr.c
index cf1a7f24d5..ea28d27727 100644
--- a/target/linux/ramips/files/arch/mips/ralink/rt3883/mach-tew-691gr.c
+++ b/target/linux/ramips/files/arch/mips/ralink/rt3883/mach-tew-691gr.c
@@ -87,6 +87,7 @@ static void __init tew_691gr_init(void)
ARRAY_SIZE(tew_691gr_gpio_buttons),
tew_691gr_gpio_buttons);
+ rt3883_wlan_data.disable_5ghz = 1;
rt3883_register_wlan();
rt3883_eth_data.phy_if_mode = PHY_INTERFACE_MODE_RGMII;
diff --git a/target/linux/ramips/files/arch/mips/ralink/rt3883/mach-tew-692gr.c b/target/linux/ramips/files/arch/mips/ralink/rt3883/mach-tew-692gr.c
index 80f6b36a7b..68c17a29df 100644
--- a/target/linux/ramips/files/arch/mips/ralink/rt3883/mach-tew-692gr.c
+++ b/target/linux/ramips/files/arch/mips/ralink/rt3883/mach-tew-692gr.c
@@ -126,6 +126,7 @@ static void __init tew_692gr_init(void)
ARRAY_SIZE(tew_692gr_gpio_buttons),
tew_692gr_gpio_buttons);
+ rt3883_wlan_data.disable_5ghz = 1;
rt3883_register_wlan();
mdiobus_register_board_info(tew_692gr_mdio0_info,