aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 364aa01c6..58cf63eef 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));
}
}
}