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 e22c91e144)
This commit is contained in:
Sergey V. Lobanov 2021-11-26 20:26:17 +03:00 committed by Hauke Mehrtens
parent 5124b96e72
commit c67509efd7
1 changed files with 4 additions and 1 deletions

View File

@ -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|\