diff options
author | Hans de Goede <hdegoede@redhat.com> | 2012-02-24 11:19:15 +0100 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2012-03-21 16:14:48 +0100 |
commit | b23a482e37454675a17523c9b2016e1416d0040e (patch) | |
tree | f0b442e585307b2f3634d3ba0ed8e1787e8a2be9 | |
parent | 120fe72e34af5ed5c54820ad83306994a7ccfae1 (diff) |
linux: Fix a comment in handle_iso_completionfor109
Fix the comment at the end of handle_iso_completion, we don't stop on urbs /
iso pkts with less data then requested, and this is a good thing since this
is a normal condition for iso transfers.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
-rw-r--r-- | libusb/os/linux_usbfs.c | 3 |
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); |