diff options
author | Ben Hutchings <ben.hutchings@mind.be> | 2021-08-10 01:00:15 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-08-10 09:58:15 +0100 |
commit | 411d466d94a6b16a20c8b552e403b7e8ce2397a2 (patch) | |
tree | d1435c3f95e47ffb02a544283fffb01772127722 /sound/arm | |
parent | 164844135a3f215d3018ee9d6875336beb942413 (diff) |
net: dsa: microchip: ksz8795: Don't use phy_port_cnt in VLAN table lookup
The magic number 4 in VLAN table lookup was the number of entries we
can read and write at once. Using phy_port_cnt here doesn't make
sense and presumably broke VLAN filtering for 3-port switches. Change
it back to 4.
Fixes: 4ce2a984abd8 ("net: dsa: microchip: ksz8795: use phy_port_cnt ...")
Signed-off-by: Ben Hutchings <ben.hutchings@mind.be>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'sound/arm')
0 files changed, 0 insertions, 0 deletions