Stephane Fillod 9bbf56609d net: usb: smsc95xx: fix mtu
Make smsc95xx recalculate the hard_mtu after adjusting the
hard_header_len.

Without this, usbnet adjusts the MTU down to 1488 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/Beagle.

Signed-off-by: Stephane Fillod <fillods@users.sf.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
2012-04-24 00:29:18 -04:00
..
2012-04-24 00:29:18 -04:00
2012-04-17 14:17:05 -04:00
2012-04-16 23:56:36 -04:00
2012-03-27 22:45:26 -04:00
2012-02-14 10:45:42 +11:00
2012-02-01 16:49:50 +01:00
2012-03-28 18:30:03 +01:00
2012-04-06 17:54:53 -07:00