Revert "net: dsa: microchip: ksz8: don't add own-macs with vlan 1 to the stat mac table"

This reverts commit 9f0cd172d1.
This commit is contained in:
Jan Sondhauss
2025-08-11 12:39:53 +02:00
committed by Jan SONDHAUSS
parent 7dc104da48
commit 09e5d2507f
-4
View File
@@ -1007,10 +1007,6 @@ static int ksz8_add_sta_mac(struct ksz_device *dev, int port,
int index, ret;
int empty = 0;
vid = 0; //JSo(WAGO): we don't use the vlan function of the switch and with our
//three mac addresses we would already occupy 6of8 slots in the stat mac table.
// So that vid to zero..
alu.port_forward = 0;
for (index = 0; index < dev->info->num_statics; index++) {
bool valid;