2
0
forked from Ivasoft/openwrt

mvsw61xx: track and set per-VLAN port state in STU

Since the driver doesn't know anything about (M)STP
we just hard-set the ports to be enabled if they are
part of the VLAN.

Signed-off-by: Claudio Leite <leitec@staticky.com>

SVN-Revision: 43938
This commit is contained in:
Luka Perkov
2015-01-11 17:20:16 +00:00
parent 0b2cbeca7a
commit 9db3df9d6b
2 changed files with 32 additions and 7 deletions

View File

@@ -249,6 +249,7 @@ struct mvsw61xx_state {
u16 mask;
u16 vid;
u32 port_mode;
u32 port_sstate;
} vlans[MV_VLANS];
char buf[128];