diff options
author | Tom Rini <trini@konsulko.com> | 2018-10-11 15:28:32 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-10-11 15:28:32 -0400 |
commit | 0223462b373b975d970fa86e5e1a7eadd1d41820 (patch) | |
tree | 65f798468bfb9cdf3c4c2a99bd88df9108ccd4df /drivers/usb/eth | |
parent | 3d5ced9e22d32112a20f9dc0f5fb1f22ef088079 (diff) | |
parent | 1a048cd65645338069d591108031fa4ebe96d53f (diff) |
Merge branch 'master' of git://git.denx.de/u-boot-net
Diffstat (limited to 'drivers/usb/eth')
-rw-r--r-- | drivers/usb/eth/lan7x.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/eth/lan7x.h b/drivers/usb/eth/lan7x.h index d1b1047935..7af610be37 100644 --- a/drivers/usb/eth/lan7x.h +++ b/drivers/usb/eth/lan7x.h @@ -94,7 +94,7 @@ #define LAN7X_MAC_RX_MAX_SIZE(mtu) \ ((mtu) << 16) /* Max frame size */ #define LAN7X_MAC_RX_MAX_SIZE_DEFAULT \ - LAN7X_MAC_RX_MAX_SIZE(ETH_FRAME_LEN + 4 /* VLAN */ + 4 /* CRC */) + LAN7X_MAC_RX_MAX_SIZE(PKTSIZE_ALIGN + 4 /* VLAN */ + 4 /* CRC */) /* Timeouts */ #define USB_CTRL_SET_TIMEOUT_MS 5000 |