|
@@ -1107,7 +1107,7 @@ void b53_vlan_add(struct dsa_switch *ds, int port,
|
|
|
b53_get_vlan_entry(dev, vid, vl);
|
|
|
|
|
|
vl->members |= BIT(port);
|
|
|
- if (untagged)
|
|
|
+ if (untagged && !dsa_is_cpu_port(ds, port))
|
|
|
vl->untag |= BIT(port);
|
|
|
else
|
|
|
vl->untag &= ~BIT(port);
|
|
@@ -1149,7 +1149,7 @@ int b53_vlan_del(struct dsa_switch *ds, int port,
|
|
|
pvid = 0;
|
|
|
}
|
|
|
|
|
|
- if (untagged)
|
|
|
+ if (untagged && !dsa_is_cpu_port(ds, port))
|
|
|
vl->untag &= ~(BIT(port));
|
|
|
|
|
|
b53_set_vlan_entry(dev, vid, vl);
|