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

Commit c24f4227 authored by David Lopo's avatar David Lopo Committed by Greg Kroah-Hartman
Browse files

usb gadget: minor USBCV fix for composite framework



Fill in a reserved/unused device qualifier field to ensure that
the USBCV tests will always pass.

Signed-off-by: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 28874b7e
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -294,6 +294,7 @@ static void device_qual(struct usb_composite_dev *cdev)
	/* ASSUME same EP0 fifo size at both speeds */
	/* ASSUME same EP0 fifo size at both speeds */
	qual->bMaxPacketSize0 = cdev->desc.bMaxPacketSize0;
	qual->bMaxPacketSize0 = cdev->desc.bMaxPacketSize0;
	qual->bNumConfigurations = count_configs(cdev, USB_DT_DEVICE_QUALIFIER);
	qual->bNumConfigurations = count_configs(cdev, USB_DT_DEVICE_QUALIFIER);
	qual->bRESERVED = 0;
}
}


/*-------------------------------------------------------------------------*/
/*-------------------------------------------------------------------------*/