[PATCH] usb_submit_urb fix for broken usb devices
authorGreg Kroah-Hartman <greg@kroah.com>
Mon, 13 May 2002 07:48:05 +0000 (00:48 -0700)
committerGreg Kroah-Hartman <greg@kroah.com>
Mon, 13 May 2002 07:48:05 +0000 (00:48 -0700)
commit88bcb34e999a18d6d8e647e429acb2ba6d3f0ebd
treef4e1d96859a71371826ef2545b9cd65364930829
parentd8a71dcfd455ee6fd79fee5e006f82492eaa2c05
[PATCH] usb_submit_urb fix for broken usb devices

added check for wMaxPacketSize of 0, which is a messed up device, but
seems to be legal according to the USB spec.

Thanks to Johannes for figuring out the problem, and providing an
original version of this patch.
drivers/usb/core/usb.c