"...0d0cea2424ae97b27447dc64a7dbfae83c036c45b403392f0e8ba.png" did not exist on "9f8a2c23c6c1140f515f601265c4dff7522110b7"
net: usb: cdc_eem: fix mtu
Make CDC EEM recalculate the hard_mtu after adjusting the hard_header_len. Without this, usbnet adjusts the MTU down to 1494 bytes, and the host is unable to receive standard 1500-byte frames from the device. Tested with the Linux USB Ethernet gadget. Cc: Oliver Neukum <oliver@neukum.name> Signed-off-by:Rabin Vincent <rabin@rab.in> Signed-off-by:
David S. Miller <davem@davemloft.net>
Loading
Please register or sign in to comment