|
@@ -2476,8 +2476,8 @@ static int mv88e6xxx_setup_port(struct dsa_switch *ds, int port)
|
|
|
* the other bits clear.
|
|
|
*/
|
|
|
reg = 1 << port;
|
|
|
- /* Disable learning for DSA and CPU ports */
|
|
|
- if (dsa_is_cpu_port(ds, port) || dsa_is_dsa_port(ds, port))
|
|
|
+ /* Disable learning for CPU port */
|
|
|
+ if (dsa_is_cpu_port(ds, port))
|
|
|
reg = 0;
|
|
|
|
|
|
ret = _mv88e6xxx_reg_write(ds, REG_PORT(port), PORT_ASSOC_VECTOR, reg);
|