summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorttsou2009-08-25 19:52:29 -0400
committerttsou2009-09-15 18:06:27 -0400
commit117bee2b2b88b5d348db1a8f6beb28de8340f407 (patch)
tree7629b3f203c21c9d63f05b193f1e60fc1e7ad5e9
parent0d7fa4aac5b01cf463e1a065205094cd494853ee (diff)
downloadgnuradio-117bee2b2b88b5d348db1a8f6beb28de8340f407.tar.gz
gnuradio-117bee2b2b88b5d348db1a8f6beb28de8340f407.tar.bz2
gnuradio-117bee2b2b88b5d348db1a8f6beb28de8340f407.zip
Additional comments for reaping transactions
-rw-r--r--usrp/host/lib/fusb_libusb1.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/usrp/host/lib/fusb_libusb1.cc b/usrp/host/lib/fusb_libusb1.cc
index dc51d5709..e50e44081 100644
--- a/usrp/host/lib/fusb_libusb1.cc
+++ b/usrp/host/lib/fusb_libusb1.cc
@@ -266,8 +266,10 @@ fusb_devhandle_libusb1::_cancel_lut (libusb_transfer *lut)
*
* If ok_to_block_p is false then handle already pending events and return
* immediately.
+ *
* If ok_to_block_p is true then call libusb_handle_events_timeout with default
- * timeout value of 2 seconds, which returns on event arrival or timeout.
+ * timeout value of 2 seconds, which waits and returns on event arrival or
+ * timeout.
*/
bool
@@ -285,7 +287,6 @@ fusb_devhandle_libusb1::_reap (bool ok_to_block_p)
tv.tv_usec = 0;
}
-
if ((ret = libusb_handle_events_timeout(d_ctx, &tv)) < 0) {
fprintf (stderr, "fusb::_reap libusb_handle_events() %i\n", ret);
return false;