ramips: fix switch-port assignment for HW550-3G
authorGabor Juhos <juhosg@openwrt.org>
Mon, 24 Oct 2011 21:49:32 +0000 (21:49 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Mon, 24 Oct 2011 21:49:32 +0000 (21:49 +0000)
WAN is on swtich port 0 for Aztech HW550-3G.

Signed-off-by: Daniel Golle <dgolle@allnet.de>
SVN-Revision: 28570

target/linux/ramips/files/arch/mips/ralink/rt305x/mach-hw550-3g.c

index c1820d6f3e5ce081568e38b0e4fe66fa75a017dc..5a3114a051eaf2ece5803f4b9e23c0ded5e29d0b 100644 (file)
@@ -127,7 +127,7 @@ static void __init hw550_3g_init(void)
        rt305x_gpio_init(HW550_3G_GPIO_MODE);
 
        rt305x_register_flash(0, &hw550_3g_flash_data);
-       rt305x_esw_data.vlan_config = RT305X_ESW_VLAN_CONFIG_LLLLW;
+       rt305x_esw_data.vlan_config = RT305X_ESW_VLAN_CONFIG_WLLLL;
        rt305x_register_ethernet();
        ramips_register_gpio_leds(-1, ARRAY_SIZE(hw550_3g_leds_gpio),
                                  hw550_3g_leds_gpio);