summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usrp2/host/lib/usrp2_impl.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/usrp2/host/lib/usrp2_impl.cc b/usrp2/host/lib/usrp2_impl.cc
index a0d340c91..adbfd6d69 100644
--- a/usrp2/host/lib/usrp2_impl.cc
+++ b/usrp2/host/lib/usrp2_impl.cc
@@ -152,6 +152,10 @@ namespace usrp2 {
d_bg_thread = new usrp2_thread(this);
d_bg_thread->start();
+ // In case the USRP2 was left streaming RX
+ // FIXME: only one channel right now
+ stop_rx_streaming(0);
+
if (!dboard_info()) // we're hosed
throw std::runtime_error("Unable to retrieve daughterboard info");