ramips: disable 5GHz on the built in wireless mac of the TEW-69{1,2}GR
authorGabor Juhos <juhosg@openwrt.org>
Fri, 19 Oct 2012 17:42:22 +0000 (17:42 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Fri, 19 Oct 2012 17:42:22 +0000 (17:42 +0000)
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 33864

target/linux/ramips/files/arch/mips/ralink/rt3883/mach-tew-691gr.c
target/linux/ramips/files/arch/mips/ralink/rt3883/mach-tew-692gr.c

index cf1a7f24d50808de5286e04e92c47ff3fd083bde..ea28d277277e3afefd240f744236a15e9ff1b209 100644 (file)
@@ -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;
index 80f6b36a7b0d4d4664fd5c8e300e9713e4947591..68c17a29dffa2be9e060c7487cef5ce23c4ce0f9 100644 (file)
@@ -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,