diff options
author | David Lopo <dlopo@chipidea.mips.com> | 2008-07-01 16:14:17 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-07-21 18:16:48 -0400 |
commit | c24f42276b4c4467e82cdd5a941fb7f9400aeea0 (patch) | |
tree | 218f53c2070ac1c8d127ad04ed0db6acac3f5267 /drivers/usb | |
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')
-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 b3d302a6a081..85c876c1f150 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) | |||
294 | /* ASSUME same EP0 fifo size at both speeds */ | 294 | /* ASSUME same EP0 fifo size at both speeds */ |
295 | qual->bMaxPacketSize0 = cdev->desc.bMaxPacketSize0; | 295 | qual->bMaxPacketSize0 = cdev->desc.bMaxPacketSize0; |
296 | qual->bNumConfigurations = count_configs(cdev, USB_DT_DEVICE_QUALIFIER); | 296 | qual->bNumConfigurations = count_configs(cdev, USB_DT_DEVICE_QUALIFIER); |
297 | qual->bRESERVED = 0; | ||
297 | } | 298 | } |
298 | 299 | ||
299 | /*-------------------------------------------------------------------------*/ | 300 | /*-------------------------------------------------------------------------*/ |