kernel/drivers/net/dsa/microchip/ksz9477.c
.. .. @@ -678,10 +678,10 @@ 678 678 ksz_read32(dev, REG_SW_ALU_VAL_D, &alu_table[3]); 679 679 680 680 /* clear forwarding port */ 681 - alu_table[2] &= ~BIT(port);681 + alu_table[1] &= ~BIT(port);682 682 683 683 /* 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) {685 685 alu_table[0] = 0; 686 686 alu_table[1] = 0; 687 687 alu_table[2] = 0;