Stephane Fillod a99ff7d012 net: usb: smsc75xx: fix mtu
Make smsc75xx recalculate the hard_mtu after adjusting the
hard_header_len.

Without this, usbnet adjusts the MTU down to 1492 bytes, and the host is
unable to receive standard 1500-byte frames from the device.

Inspired by same fix on cdc_eem 78fb72f7936c01d5b426c03a691eca082b03f2b9.

Tested on ARM/Omap3 with EVB-LAN7500-LC.

Signed-off-by: Stephane Fillod <fillods@users.sf.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
2012-04-16 23:54:22 -04:00
..
2012-03-08 10:50:35 -08:00
2012-04-06 17:54:53 -07:00
2012-03-19 09:37:11 +00:00
2012-04-05 22:13:39 -07:00
2012-03-27 16:03:32 -07:00
2012-04-10 15:30:16 -07:00
2012-03-28 13:56:35 -07:00
2012-04-16 23:54:22 -04:00
2012-03-28 14:08:46 -07:00
2012-04-06 17:54:53 -07:00
2012-03-17 01:41:43 -07:00
2012-03-28 15:58:21 -07:00
2012-03-30 00:09:17 -07:00
2012-04-07 09:52:46 -07:00
2012-04-05 22:13:39 -07:00
2012-04-05 22:13:39 -07:00
2012-03-29 18:02:10 -07:00
2012-04-06 17:54:53 -07:00