Linux: Fix cancel_transfer return value when cancelling a multi-urb transfer
authorHans de Goede <hdegoede@redhat.com>
Mon, 26 Mar 2012 20:33:39 +0000 (21:33 +0100)
committerPete Batard <pete@akeo.ie>
Mon, 26 Mar 2012 20:41:40 +0000 (21:41 +0100)
commitd041159a1720c14568154c07f94b01340b991417
treee7c15b051836caea565b05f756bd1f08af787ea9
parent76af4c99bd6122c1dd7b58858b669c919d8c8806
Linux: Fix cancel_transfer return value when cancelling a multi-urb transfer

* if we've successfully cancelled the last urb, and then another urb
  fails with errno == EINVAL, we shouldn't return LIBUSB_ERROR_NOT_FOUND
libusb/os/linux_usbfs.c