From 9b215d85b7ae09b253839f93284a637ebc3385c3 Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Wed, 19 Oct 2016 17:49:26 -0700 Subject: rfnoc: Fixed case where stream terminators would not notify node about active status --- host/lib/rfnoc/rx_stream_terminator.cpp | 1 + host/lib/rfnoc/tx_stream_terminator.cpp | 2 ++ 2 files changed, 3 insertions(+) (limited to 'host/lib/rfnoc') 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() -- cgit v1.2.3