aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormichael-west <michael.west@ettus.com>2018-12-20 13:49:41 -0800
committermichael-west <michael.west@ettus.com>2018-12-20 23:13:42 -0800
commit4bc82ff86b263ad49237725622388ee98b567c4a (patch)
tree925eb5306e8abcb1cabb3c4e17bb163c8548a6a1
parentRFNoC: Fix graph traversal (diff)
downloaduhd-4bc82ff86b263ad49237725622388ee98b567c4a.tar.xz
uhd-4bc82ff86b263ad49237725622388ee98b567c4a.zip
RFNoC: Fix stream command propagation
- Corrects parameter from output port to input port of node - Fixes issue on nodes with different number of input and output connections
-rw-r--r--host/lib/rfnoc/source_block_ctrl_base.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/rfnoc/source_block_ctrl_base.cpp b/host/lib/rfnoc/source_block_ctrl_base.cpp
index d5f4b7aab..599e5432b 100644
--- a/host/lib/rfnoc/source_block_ctrl_base.cpp
+++ b/host/lib/rfnoc/source_block_ctrl_base.cpp
@@ -43,7 +43,7 @@ void source_block_ctrl_base::issue_stream_cmd(
boost::dynamic_pointer_cast<source_node_ctrl>(upstream_node.second.lock());
if (this_upstream_block_ctrl)
{
- this_upstream_block_ctrl->issue_stream_cmd(stream_cmd, get_upstream_port(chan));
+ this_upstream_block_ctrl->issue_stream_cmd(stream_cmd, get_upstream_port(upstream_node.first));
}
}
}