Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c9f0f6a6 authored by qctecmdr Service's avatar qctecmdr Service Committed by Gerrit - the friendly Code Review server
Browse files

Merge "usb: gadget: f_gsi: Add MaxPacketSize in fs_descriptor"

parents 35456325 b0135bb8
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -879,6 +879,7 @@ static struct usb_endpoint_descriptor mbim_gsi_fs_in_desc = {

	.bEndpointAddress =	USB_DIR_IN,
	.bmAttributes =		USB_ENDPOINT_XFER_BULK,
	.wMaxPacketSize =	4*cpu_to_le16(NCM_STATUS_BYTECOUNT),
};

static struct usb_endpoint_descriptor mbim_gsi_fs_out_desc = {
@@ -887,6 +888,7 @@ static struct usb_endpoint_descriptor mbim_gsi_fs_out_desc = {

	.bEndpointAddress =	USB_DIR_OUT,
	.bmAttributes =		USB_ENDPOINT_XFER_BULK,
	.wMaxPacketSize =	4*cpu_to_le16(NCM_STATUS_BYTECOUNT),
};

static struct usb_descriptor_header *mbim_gsi_fs_function[] = {
@@ -1180,6 +1182,7 @@ static struct usb_endpoint_descriptor ecm_gsi_fs_in_desc = {

	.bEndpointAddress =	USB_DIR_IN,
	.bmAttributes =		USB_ENDPOINT_XFER_BULK,
	.wMaxPacketSize =	cpu_to_le16(ECM_QC_STATUS_BYTECOUNT),
};

static struct usb_endpoint_descriptor ecm_gsi_fs_out_desc = {
@@ -1188,6 +1191,7 @@ static struct usb_endpoint_descriptor ecm_gsi_fs_out_desc = {

	.bEndpointAddress =	USB_DIR_OUT,
	.bmAttributes =		USB_ENDPOINT_XFER_BULK,
	.wMaxPacketSize =	cpu_to_le16(ECM_QC_STATUS_BYTECOUNT),
};

static struct usb_descriptor_header *ecm_gsi_fs_function[] = {