summaryrefslogtreecommitdiff
path: root/gr-uhd
diff options
context:
space:
mode:
Diffstat (limited to 'gr-uhd')
-rw-r--r--gr-uhd/lib/usrp_sink_impl.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/gr-uhd/lib/usrp_sink_impl.cc b/gr-uhd/lib/usrp_sink_impl.cc
index 4e2e9467dd..ef49c1048e 100644
--- a/gr-uhd/lib/usrp_sink_impl.cc
+++ b/gr-uhd/lib/usrp_sink_impl.cc
@@ -535,7 +535,8 @@ namespace gr {
bool
usrp_sink_impl::start(void)
{
- _tx_stream = _dev->get_tx_stream(_stream_args);
+ if (not _tx_stream)
+ _tx_stream = _dev->get_tx_stream(_stream_args);
_metadata.start_of_burst = true;
_metadata.end_of_burst = false;