aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorSergey V. Lobanov <sergey@lobanov.in>2021-11-26 20:26:17 +0300
committerHauke Mehrtens <hauke@hauke-m.de>2021-12-05 13:54:20 +0100
commitc67509efd7d0c43eb3f622f06c8a31aa28d22f6e (patch)
tree7fec4251fb3f5c2369648daff14135fc48ce3b2d /target
parent5124b96e7235af834b18c98651267bf7baffcb02 (diff)
downloadupstream-c67509efd7d0c43eb3f622f06c8a31aa28d22f6e.tar.gz
upstream-c67509efd7d0c43eb3f622f06c8a31aa28d22f6e.tar.bz2
upstream-c67509efd7d0c43eb3f622f06c8a31aa28d22f6e.zip
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 <sergey@lobanov.in> [copied commit message from github PR] Signed-off-by: Christian Lamparter <chunkeey@gmail.com> (cherry picked from commit e22c91e144d63ccbd7b76b370a53652c48db1d6f)
Diffstat (limited to 'target')
-rwxr-xr-xtarget/linux/ramips/mt76x8/base-files/etc/board.d/02_network5
1 files changed, 4 insertions, 1 deletions
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 82794be60b..7fc69ac8b2 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
@@ -25,7 +25,6 @@ ramips_setup_interfaces()
tplink,re200-v4|\
tplink,re220-v2|\
tplink,re305-v1|\
- tplink,tl-mr3020-v3|\
tplink,tl-wr802n-v4|\
tplink,tl-wa801nd-v5|\
widora,neo-16m|\
@@ -34,6 +33,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|\