1
linux/drivers/usb/class
Pete Zaitcev 10e485221e USB: usblp: "Big cleanup" breaks O_NONBLOCK
I found the first regresson in the rewritten ("all dynamic" and "no races")
driver. If application uses O_NONBLOCK, I return -EAGAIN despite the URB
being submitted successfuly. This causes the application to resubmit the
same data erroneously.

The fix is to pretend that the transfer has succeeded even if URB was
merely queued. It is the same behaviour as with the old version.

Signed-off-by: Pete Zaitcev <zaitcev@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2007-07-19 17:46:03 -07:00
..
cdc-acm.c USB: cdc-acm: add new device id to option driver 2007-07-12 16:34:43 -07:00
cdc-acm.h USB: cdc-acm: export parsed capabilities through sysfs 2007-04-27 13:28:33 -07:00
Kconfig
Makefile
usblp.c USB: usblp: "Big cleanup" breaks O_NONBLOCK 2007-07-19 17:46:03 -07:00