aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/usrp2/io_impl.cpp
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2012-01-16 22:31:03 -0800
committerJosh Blum <josh@joshknows.com>2012-01-23 13:03:09 -0800
commitb8e41cbbc9666a9758d0f9f3a57272530716935a (patch)
treefc8eb1546d5ac4ab3ec5ae742335b45144fa0bc2 /host/lib/usrp/usrp2/io_impl.cpp
parent287958ba36072f699090aa61ad2b6bbee6846d66 (diff)
downloaduhd-b8e41cbbc9666a9758d0f9f3a57272530716935a.tar.gz
uhd-b8e41cbbc9666a9758d0f9f3a57272530716935a.tar.bz2
uhd-b8e41cbbc9666a9758d0f9f3a57272530716935a.zip
uhd: flush transport for new rx streamers
Diffstat (limited to 'host/lib/usrp/usrp2/io_impl.cpp')
-rw-r--r--host/lib/usrp/usrp2/io_impl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/usrp/usrp2/io_impl.cpp b/host/lib/usrp/usrp2/io_impl.cpp
index 44ab513ac..fd81071fb 100644
--- a/host/lib/usrp/usrp2/io_impl.cpp
+++ b/host/lib/usrp/usrp2/io_impl.cpp
@@ -419,7 +419,7 @@ rx_streamer::sptr usrp2_impl::get_rx_stream(const uhd::stream_args_t &args_){
_mbc[mb].rx_dsps[dsp]->set_format(args.otw_format, sc8_scalar);
my_streamer->set_xport_chan_get_buff(chan_i, boost::bind(
&zero_copy_if::get_recv_buff, _mbc[mb].rx_dsp_xports[dsp], _1
- ));
+ ), true /*flush*/);
_mbc[mb].rx_streamers[dsp] = my_streamer; //store weak pointer
break;
}