diff options
author | Felix Fietkau <nbd@openwrt.org> | 2013-08-12 11:44:28 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2013-08-12 11:44:28 +0000 |
commit | 8c1ae8044b7f72836626bba67414009b8d7d1190 (patch) | |
tree | efc42f9deedf786734c0df4c62c9886d84d0d0f4 /target/linux/ar71xx/files/drivers | |
parent | ab8f877011b70490d5a6a844bb783e770da68543 (diff) | |
download | upstream-8c1ae8044b7f72836626bba67414009b8d7d1190.tar.gz upstream-8c1ae8044b7f72836626bba67414009b8d7d1190.tar.bz2 upstream-8c1ae8044b7f72836626bba67414009b8d7d1190.zip |
ar71xx: add missing return statement in ethernet mtu change op
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37756 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/files/drivers')
-rw-r--r-- | target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_main.c b/target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_main.c index 5913bb6de4..aa1fb9ef5b 100644 --- a/target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_main.c +++ b/target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_main.c @@ -1049,6 +1049,7 @@ static int ag71xx_change_mtu(struct net_device *dev, int new_mtu) return -EINVAL; dev->mtu = new_mtu; + return 0; } static const struct net_device_ops ag71xx_netdev_ops = { |