From d1b60ed26c3c7639f0c7f04191e39d4b413c2119 Mon Sep 17 00:00:00 2001 From: "Sergey V. Lobanov" Date: Fri, 26 Nov 2021 20:26:17 +0300 Subject: [PATCH] ramips: fix tl-mr3020-v3 switch topology to configure vlans via luci Currently it is not possible to configure VLANs via LUCI on tplink tl-mr3020-v3. This patch fixes switch topology for the LUCI interface. Signed-off-by: Sergey V. Lobanov [copied commit message from github PR] Signed-off-by: Christian Lamparter --- target/linux/ramips/mt76x8/base-files/etc/board.d/02_network | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/target/linux/ramips/mt76x8/base-files/etc/board.d/02_network b/target/linux/ramips/mt76x8/base-files/etc/board.d/02_network index a56992562e..197481c1f7 100755 --- a/target/linux/ramips/mt76x8/base-files/etc/board.d/02_network +++ b/target/linux/ramips/mt76x8/base-files/etc/board.d/02_network @@ -27,7 +27,6 @@ ramips_setup_interfaces() tplink,re220-v2|\ tplink,re305-v1|\ tplink,re305-v3|\ - tplink,tl-mr3020-v3|\ tplink,tl-wr802n-v4|\ tplink,tl-wa801nd-v5|\ widora,neo-16m|\ @@ -36,6 +35,10 @@ ramips_setup_interfaces() ucidef_add_switch_attr "switch0" "enable" "false" ucidef_set_interface_lan "eth0" ;; + tplink,tl-mr3020-v3) + ucidef_add_switch "switch0" \ + "0:lan" "6@eth0" + ;; asus,rt-n10p-v3|\ asus,rt-n11p-b1|\ asus,rt-n12-vp-b1|\