This patch fixes broken wired ethernet when compiling against trunk.
Sorry for that.
Signed-off-by: Andrew Andrianov <[email protected]>
Regards,
Andrew
diff --git a/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-wr512-3gn.c
b/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-wr512-3gn.c
index 1b7ddaf..378cf94 100644
--- a/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-wr512-3gn.c
+++ b/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-wr512-3gn.c
@@ -137,6 +137,7 @@ static void __init wr512_3gn_init(void)
rt305x_gpio_init(WR512_3GN_GPIO_MODE);
rt305x_register_flash(0, &wr512_3gn_flash_data);
+ rt305x_esw_data.vlan_config = RT305X_ESW_VLAN_CONFIG_LLLLW;
rt305x_register_ethernet();
ramips_register_gpio_leds(-1, ARRAY_SIZE(wr512_3gn_leds_gpio),
wr512_3gn_leds_gpio);
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel