summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2012-03-26 23:01:48 +0100
committerPete Batard <pete@akeo.ie>2012-03-26 23:03:28 +0100
commitbe0f7bde411fbe632354584c77922661d5b5fe2e (patch)
tree38e8512731dbfc1556cd99b97a38ff0fdbb1189a
parent75883a2b2ed3e0b8099e390b09f199c48ccb0b25 (diff)
downloadlibusb-be0f7bde411fbe632354584c77922661d5b5fe2e.tar.gz
Linux: fix inaccurate comment
* We don't stop on urbs/iso pkts with less data then requested
-rw-r--r--libusb/os/linux_usbfs.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libusb/os/linux_usbfs.c b/libusb/os/linux_usbfs.c
index 8d88c87..780f0bd 100644
--- 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);