mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-29 18:19:02 +00:00
ar71xx: add missing return statement in ethernet mtu change op
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37756
This commit is contained in:
parent
acb9bc0f5e
commit
104ff48e25
@ -1049,6 +1049,7 @@ static int ag71xx_change_mtu(struct net_device *dev, int new_mtu)
|
|||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
|
|
||||||
dev->mtu = new_mtu;
|
dev->mtu = new_mtu;
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static const struct net_device_ops ag71xx_netdev_ops = {
|
static const struct net_device_ops ag71xx_netdev_ops = {
|
||||||
|
Loading…
Reference in New Issue
Block a user