hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/drivers/net/dsa/microchip/ksz9477.c
....@@ -678,10 +678,10 @@
678678 ksz_read32(dev, REG_SW_ALU_VAL_D, &alu_table[3]);
679679
680680 /* clear forwarding port */
681
- alu_table[2] &= ~BIT(port);
681
+ alu_table[1] &= ~BIT(port);
682682
683683 /* if there is no port to forward, clear table */
684
- if ((alu_table[2] & ALU_V_PORT_MAP) == 0) {
684
+ if ((alu_table[1] & ALU_V_PORT_MAP) == 0) {
685685 alu_table[0] = 0;
686686 alu_table[1] = 0;
687687 alu_table[2] = 0;