aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2016-10-19 17:49:26 -0700
committerMartin Braun <martin.braun@ettus.com>2016-10-19 17:49:26 -0700
commit9b215d85b7ae09b253839f93284a637ebc3385c3 (patch)
tree90ab03b6471e6604efb368c3eadbb6f36ed15b57 /host/lib
parentbee27a41170d80b0fa5c35e07653b28702b08590 (diff)
downloaduhd-9b215d85b7ae09b253839f93284a637ebc3385c3.tar.gz
uhd-9b215d85b7ae09b253839f93284a637ebc3385c3.tar.bz2
uhd-9b215d85b7ae09b253839f93284a637ebc3385c3.zip
rfnoc: Fixed case where stream terminators would not notify node about active status
Diffstat (limited to 'host/lib')
-rw-r--r--host/lib/rfnoc/rx_stream_terminator.cpp1
-rw-r--r--host/lib/rfnoc/tx_stream_terminator.cpp2
2 files changed, 3 insertions, 0 deletions
diff --git a/host/lib/rfnoc/rx_stream_terminator.cpp b/host/lib/rfnoc/rx_stream_terminator.cpp
index b2a2d5a64..43b3664fc 100644
--- a/host/lib/rfnoc/rx_stream_terminator.cpp
+++ b/host/lib/rfnoc/rx_stream_terminator.cpp
@@ -58,6 +58,7 @@ void rx_stream_terminator::set_rx_streamer(bool active, const size_t)
get_upstream_port(upstream_node.first)
);
}
+ _rx_streamer_active[upstream_node.first] = active;
}
}
diff --git a/host/lib/rfnoc/tx_stream_terminator.cpp b/host/lib/rfnoc/tx_stream_terminator.cpp
index 2746fc4d8..ee856843d 100644
--- a/host/lib/rfnoc/tx_stream_terminator.cpp
+++ b/host/lib/rfnoc/tx_stream_terminator.cpp
@@ -54,7 +54,9 @@ void tx_stream_terminator::set_tx_streamer(bool active, const size_t /* port */)
get_downstream_port(downstream_node.first)
);
}
+ _tx_streamer_active[downstream_node.first] = active;
}
+
}
tx_stream_terminator::~tx_stream_terminator()