diff options
author | michael-west <michael.west@ettus.com> | 2018-12-20 13:49:41 -0800 |
---|---|---|
committer | Brent Stapleton <brent.stapleton@ettus.com> | 2018-12-20 17:43:19 -0800 |
commit | 4a1401770aa3629daf0e9321b1e05f845112b105 (patch) | |
tree | 861757bde5a8b1ea89ae17210a6bdcd194894fae /host/lib/rfnoc | |
parent | b7bab6a44fe073e3ace3c6469ebef6de9e99fb4a (diff) | |
download | uhd-4a1401770aa3629daf0e9321b1e05f845112b105.tar.gz uhd-4a1401770aa3629daf0e9321b1e05f845112b105.tar.bz2 uhd-4a1401770aa3629daf0e9321b1e05f845112b105.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
Diffstat (limited to 'host/lib/rfnoc')
-rw-r--r-- | host/lib/rfnoc/source_block_ctrl_base.cpp | 2 |
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)); } } } |