aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/b200/b200_impl.cpp
diff options
context:
space:
mode:
authorJohannes Demel <johannes.demel@ettus.com>2013-11-05 13:56:00 -0800
committerJohannes Demel <johannes.demel@ettus.com>2013-11-19 12:33:22 -0800
commit25660c5c9e83e352e10d9fe9feb115d40a322353 (patch)
tree41d9fd9d97a7ebb04664d2cb0a7afd314b479e1f /host/lib/usrp/b200/b200_impl.cpp
parent45a780cc858dd84e4883139ad2121aeb222d2d8e (diff)
downloaduhd-25660c5c9e83e352e10d9fe9feb115d40a322353.tar.gz
uhd-25660c5c9e83e352e10d9fe9feb115d40a322353.tar.bz2
uhd-25660c5c9e83e352e10d9fe9feb115d40a322353.zip
b200/dtor-stall: fixed bug that stalled b200 on shutdown.
Diffstat (limited to 'host/lib/usrp/b200/b200_impl.cpp')
-rw-r--r--host/lib/usrp/b200/b200_impl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/host/lib/usrp/b200/b200_impl.cpp b/host/lib/usrp/b200/b200_impl.cpp
index 0da388b93..66ab813c2 100644
--- a/host/lib/usrp/b200/b200_impl.cpp
+++ b/host/lib/usrp/b200/b200_impl.cpp
@@ -252,7 +252,7 @@ b200_impl::b200_impl(const device_addr_t &device_addr)
////////////////////////////////////////////////////////////////////
_async_task_data.reset(new AsyncTaskData());
_async_task_data->async_md.reset(new async_md_type(1000/*messages deep*/));
- _async_task = uhd::task::make(boost::bind(&b200_impl::handle_async_task, this, _ctrl_transport, _async_task_data));
+ _async_task = uhd::msg_task::make(boost::bind(&b200_impl::handle_async_task, this, _ctrl_transport, _async_task_data));
////////////////////////////////////////////////////////////////////
// Local control endpoint
@@ -474,7 +474,7 @@ b200_impl::b200_impl(const device_addr_t &device_addr)
b200_impl::~b200_impl(void)
{
- UHD_SAFE_CALL
+ UHD_SAFE_CALL
(
_async_task.reset();
)