summaryrefslogtreecommitdiffstats
path: root/drivers/usb/serial/usb-serial.c
diff options
context:
space:
mode:
authorMaulik Mankad <maulik@ti.com>2011-02-22 14:38:42 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2011-02-25 20:36:19 +0100
commit2edb11cbac95231f66f1239b3ca26bdc0967183a (patch)
treecafb920f1003440a4b4766c43f31aec922fadd21 /drivers/usb/serial/usb-serial.c
parentUSB: use "device number" instead of "address" (diff)
downloadlinux-2edb11cbac95231f66f1239b3ca26bdc0967183a.tar.xz
linux-2edb11cbac95231f66f1239b3ca26bdc0967183a.zip
usb: gadget: composite: fix req->length in composite_setup()
When USB CV MSC tests are run on f_mass_storage gadget Bulk Only Mass Storage Reset fails since req->length is set to USB_BUFSIZ=1024 in composite_setup(). Initialize req->length to zero to fix this. Signed-off-by: Maulik Mankad <maulik@ti.com> Cc: Alan Stern <stern@rowland.harvard.edu> Cc: Michal Nazarewicz <mina86@mina86.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/serial/usb-serial.c')
0 files changed, 0 insertions, 0 deletions