diff --git a/drivers/moto_f_usbnet/f_usbnet.c b/drivers/moto_f_usbnet/f_usbnet.c index 55d9ce884b89..553d2a851963 100644 --- a/drivers/moto_f_usbnet/f_usbnet.c +++ b/drivers/moto_f_usbnet/f_usbnet.c @@ -49,10 +49,10 @@ #define USBNET_SET_HOST_IP 0x07 /* Linux Network Interface */ -#define USB_MTU 1536 -#define MAX_BULK_TX_REQ_NUM 8 -#define MAX_BULK_RX_REQ_NUM 8 -#define MAX_INTR_RX_REQ_NUM 8 +#define USB_MTU 15360 +#define MAX_BULK_TX_REQ_NUM 80 +#define MAX_BULK_RX_REQ_NUM 80 +#define MAX_INTR_RX_REQ_NUM 80 #define INTERFACE_STRING_INDEX 0 struct usbnet_context { @@ -967,6 +967,7 @@ static struct usb_function_instance *usbnet_alloc_inst(void) return ERR_PTR(-ENOMEM); } + net_dev->mtu = 15000; ret = register_netdev(net_dev); if (ret) { pr_err("%s: register_netdev error\n", __func__);