projects
/
platform
/
upstream
/
libusb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75883a2
)
Linux: fix inaccurate comment
author
Hans de Goede
<hdegoede@redhat.com>
Mon, 26 Mar 2012 22:01:48 +0000
(23:01 +0100)
committer
Pete Batard
<pete@akeo.ie>
Mon, 26 Mar 2012 22:03:28 +0000
(23:03 +0100)
* We don't stop on urbs/iso pkts with less data then requested
libusb/os/linux_usbfs.c
patch
|
blob
|
history
diff --git
a/libusb/os/linux_usbfs.c
b/libusb/os/linux_usbfs.c
index
8d88c87
..
780f0bd
100644
(file)
--- a/
libusb/os/linux_usbfs.c
+++ b/
libusb/os/linux_usbfs.c
@@
-2154,8
+2154,7
@@
static int handle_iso_completion(struct usbi_transfer *itransfer,
break;
}
- /* if we're the last urb or we got less data than requested then we're
- * done */
+ /* if we're the last urb then we're done */
if (urb_idx == num_urbs) {
usbi_dbg("last URB in transfer --> complete!");
free_iso_urbs(tpriv);