aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMoritz Fischer <moritz.fischer@ettus.com>2013-11-11 10:52:39 +0100
committerMoritz Fischer <moritz.fischer@ettus.com>2013-11-11 10:52:50 +0100
commit7961fc2388211ea2edf8313ef729408acc700dd1 (patch)
tree132bd069ba66263dbcc1cb37f5f38b5a9621de86
parent597e7965a7bd9a0fc76a5acbaf260b05e42c474c (diff)
downloaduhd-7961fc2388211ea2edf8313ef729408acc700dd1.tar.gz
uhd-7961fc2388211ea2edf8313ef729408acc700dd1.tar.bz2
uhd-7961fc2388211ea2edf8313ef729408acc700dd1.zip
BUG #183: Fixed typo
Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
-rw-r--r--host/lib/transport/libusb1_zero_copy.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/transport/libusb1_zero_copy.cpp b/host/lib/transport/libusb1_zero_copy.cpp
index 7b1de65c3..d269eef68 100644
--- a/host/lib/transport/libusb1_zero_copy.cpp
+++ b/host/lib/transport/libusb1_zero_copy.cpp
@@ -272,7 +272,7 @@ public:
boost::mutex::scoped_lock lock(_mutex);
if (_enqueued.empty())
{
- _cond.timed_wait(l, boost::posix_time::microseconds(long(timeout*1e6)));
+ _cond.timed_wait(lock, boost::posix_time::microseconds(long(timeout*1e6)));
}
if (_enqueued.empty()) return buff;
front = _enqueued.front();