summaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/isp116x-hcd.c
diff options
context:
space:
mode:
authorPete Zaitcev <zaitcev@redhat.com>2007-07-11 05:09:58 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2007-07-20 02:46:03 +0200
commit10e485221edd2799dc495e4cde98fe74aeb292b1 (patch)
tree44998327db21c9b1afa1166358e697244ad7a96c /drivers/usb/host/isp116x-hcd.c
parentUSB: sierra: Add new devices (diff)
downloadlinux-10e485221edd2799dc495e4cde98fe74aeb292b1.tar.xz
linux-10e485221edd2799dc495e4cde98fe74aeb292b1.zip
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>
Diffstat (limited to 'drivers/usb/host/isp116x-hcd.c')
0 files changed, 0 insertions, 0 deletions