diff options
author | David Lopo <dlopo@chipidea.mips.com> | 2008-07-01 13:14:17 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-07-21 15:16:48 -0700 |
commit | c24f42276b4c4467e82cdd5a941fb7f9400aeea0 (patch) | |
tree | 218f53c2070ac1c8d127ad04ed0db6acac3f5267 /drivers/usb/gadget | |
parent | 28874b7ec47e1e5cfe2b67420c4d07c6297a43a9 (diff) |
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: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/gadget')
-rw-r--r-- | drivers/usb/gadget/composite.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/gadget/composite.c b/drivers/usb/gadget/composite.c index b3d302a6a08..85c876c1f15 100644 --- a/drivers/usb/gadget/composite.c +++ b/drivers/usb/gadget/composite.c @@ -294,6 +294,7 @@ static void device_qual(struct usb_composite_dev *cdev) /* ASSUME same EP0 fifo size at both speeds */ qual->bMaxPacketSize0 = cdev->desc.bMaxPacketSize0; qual->bNumConfigurations = count_configs(cdev, USB_DT_DEVICE_QUALIFIER); + qual->bRESERVED = 0; } /*-------------------------------------------------------------------------*/ |