diff options
Diffstat (limited to 'host')
-rw-r--r-- | host/lib/transport/libusb1_zero_copy.cpp | 2 |
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(); |