Revert "net: dsa: b53: allow lower MTUs on BCM5325/5365"

This reverts commit 732af45018.
This commit is contained in:
Ksawlii 2024-11-24 00:22:56 +01:00
parent b7d1350f06
commit 8c2776c5c0

View file

@ -2182,7 +2182,7 @@ static int b53_change_mtu(struct dsa_switch *ds, int port, int mtu)
bool allow_10_100;
if (is5325(dev) || is5365(dev))
return 0;
return -EOPNOTSUPP;
if (!dsa_is_cpu_port(ds, port))
return 0;