USB: Gadget Ethernet: Re-enable Jumbo frames.
authorJohn Greb <h3x4m3r0n@gmail.com>
Sun, 6 May 2018 20:01:57 +0000 (20:01 +0000)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Tue, 15 May 2018 07:17:14 +0000 (10:17 +0300)
commiteea52743eb5654ec6f52b0e8b4aefec952543697
treeee054588a30e507403e8c69948cd151264ae4958
parentc7c24e7a047652c558e7aa4b0f54aae3a61aacc4
USB: Gadget Ethernet: Re-enable Jumbo frames.

Fixes: <b3e3893e1253> ("net: use core MTU range checking")
which patched only one of two functions used to setup the
USB Gadget Ethernet driver, causing a serious performance
regression in the ability to increase mtu size above 1500.

Signed-off-by: John Greb <h3x4m3r0n@gmail.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/gadget/function/u_ether.c