diff options
author | Sergey V. Lobanov <sergey@lobanov.in> | 2021-11-26 20:26:17 +0300 |
---|---|---|
committer | Christian Lamparter <chunkeey@gmail.com> | 2021-12-04 00:36:47 +0100 |
commit | e22c91e144d63ccbd7b76b370a53652c48db1d6f (patch) | |
tree | 4931e991b503ce2c92ec77b5424246074e717b8e /target/linux/ramips/mt76x8 | |
parent | a82fa5bcd4817339f5eb75cbeb49e1ab6d30d50e (diff) | |
download | upstream-e22c91e144d63ccbd7b76b370a53652c48db1d6f.tar.gz upstream-e22c91e144d63ccbd7b76b370a53652c48db1d6f.tar.bz2 upstream-e22c91e144d63ccbd7b76b370a53652c48db1d6f.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>
Diffstat (limited to 'target/linux/ramips/mt76x8')
-rw-r--r-- | target/linux/ramips/mt76x8/base-files/etc/board.d/02_network | 5 |
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 d4e3027f4e..d3c7f9c3f9 100644 --- a/target/linux/ramips/mt76x8/base-files/etc/board.d/02_network +++ b/target/linux/ramips/mt76x8/base-files/etc/board.d/02_network @@ -26,7 +26,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|\ @@ -35,6 +34,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|\ |