aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-10-19 19:45:15 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-10-19 19:45:15 +0000
commite211af7433de01efa03d6770a87214ad837246b6 (patch)
treec08de318b5bcc1d55276896ec8cf55701cb88eab
parent3309a8af05a71ca34d5cdd1279e30f2350842131 (diff)
downloadopenwrt-e211af7433de01efa03d6770a87214ad837246b6.tar.gz
openwrt-e211af7433de01efa03d6770a87214ad837246b6.zip
AA: ramips: disable 5GHz on the built in wireless mac of the TEW-69{1,2}GR
Backport of r33864. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@33882 3c298f89-4303-0410-b956-a3cf2f4a3e73
-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 cf1a7f24d..ea28d2772 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 80f6b36a7..68c17a29d 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,