From 5c97330f089c9311b07e73f5c9ec6fb512dcaf67 Mon Sep 17 00:00:00 2001 From: michael-west Date: Fri, 5 Feb 2016 09:52:45 -0800 Subject: B200: Fix for increasing retune times --- host/lib/usrp/b200/b200_io_impl.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'host') diff --git a/host/lib/usrp/b200/b200_io_impl.cpp b/host/lib/usrp/b200/b200_io_impl.cpp index 5b0c4ba13..93f5b22fc 100644 --- a/host/lib/usrp/b200/b200_io_impl.cpp +++ b/host/lib/usrp/b200/b200_io_impl.cpp @@ -294,7 +294,7 @@ boost::optional b200_impl::handle_async_task( { managed_recv_buffer::sptr buff = xport->get_recv_buff(); if (not buff or buff->size() < 8) - return uhd::msg_task::msg_type_t(0, uhd::msg_task::msg_payload_t()); + return boost::none; const boost::uint32_t sid = uhd::wtohx(buff->cast()[1]); switch (sid) { @@ -358,7 +358,7 @@ boost::optional b200_impl::handle_async_task( default: UHD_MSG(error) << "Got a ctrl packet with unknown SID " << sid << std::endl; } - return uhd::msg_task::msg_type_t(0, uhd::msg_task::msg_payload_t()); + return boost::none; } /*********************************************************************** -- cgit v1.2.3