diff options
author | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2016-10-24 14:42:26 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-10-27 22:18:50 +0200 |
commit | 110447f8269a608cd69203fa2ccd801ea92e0a1a (patch) | |
tree | 5cc86c736f6c52e7a4cfc67c1cb01bb44041409f /drivers/net/ethernet/broadcom/sb1250-mac.c | |
parent | Merge branch 'genetlink-improvements' (diff) | |
download | linux-110447f8269a608cd69203fa2ccd801ea92e0a1a.tar.xz linux-110447f8269a608cd69203fa2ccd801ea92e0a1a.zip |
ethernet: fix min/max MTU typos
Fixes: d894be57ca92('ethernet: use net core MTU range checking in more drivers')
CC: Jarod Wilson <jarod@redhat.com>
CC: Thomas Falcon <tlfalcon@linux.vnet.ibm.com>
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Acked-by: Jarod Wilson <jarod@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/broadcom/sb1250-mac.c')
-rw-r--r-- | drivers/net/ethernet/broadcom/sb1250-mac.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/broadcom/sb1250-mac.c b/drivers/net/ethernet/broadcom/sb1250-mac.c index cb312e4c89f4..435a2e4739d1 100644 --- a/drivers/net/ethernet/broadcom/sb1250-mac.c +++ b/drivers/net/ethernet/broadcom/sb1250-mac.c @@ -2219,7 +2219,7 @@ static int sbmac_init(struct platform_device *pldev, long long base) dev->netdev_ops = &sbmac_netdev_ops; dev->watchdog_timeo = TX_TIMEOUT; - dev->max_mtu = 0; + dev->min_mtu = 0; dev->max_mtu = ENET_PACKET_SIZE; netif_napi_add(dev, &sc->napi, sbmac_poll, 16); |