]> git.baikalelectronics.ru Git - kernel.git/commit
mt7530 mt7530_fdb_write only set ivl bit vid larger than 1
authorEric Woudstra <ericwouds@gmail.com>
Mon, 19 Jul 2021 18:23:57 +0000 (20:23 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 20 Jul 2021 14:01:14 +0000 (07:01 -0700)
commit7e777021780e9c373fc0c04d40b8407ce8c3b5d5
tree8bdf85ebc66f6fba92f001b936b0e495a2934acb
parent6f91d7abf1fa6ad47b660f4172463143c8820ee6
mt7530 mt7530_fdb_write only set ivl bit vid larger than 1

Fixes my earlier patch which broke vlan unaware bridges.

The IVL bit now only gets set for vid's larger than 1.

Fixes: 11d8d98cbeef ("mt7530 fix mt7530_fdb_write vid missing ivl bit")
Signed-off-by: Eric Woudstra <ericwouds@gmail.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mt7530.c