aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib
diff options
context:
space:
mode:
authorAlex Williams <alex.williams@ni.com>2019-02-27 11:02:23 -0800
committerMartin Braun <martin.braun@ettus.com>2019-02-27 12:22:04 -0800
commitae36d1b1a9573ce1ed089c282e91e1d4cbc47f2b (patch)
tree02f0e36cbe6135afaf2730b75f8c523605c21927 /host/lib
parent48beca4e0359d615b2edb117ef5954d02b93978a (diff)
downloaduhd-ae36d1b1a9573ce1ed089c282e91e1d4cbc47f2b.tar.gz
uhd-ae36d1b1a9573ce1ed089c282e91e1d4cbc47f2b.tar.bz2
uhd-ae36d1b1a9573ce1ed089c282e91e1d4cbc47f2b.zip
rh: Fix typo in setting up RX frontend
The function for setting up the RX frontend was erroneously looking at previous TX settings to determine whether to submit a command. This fixes the issue.
Diffstat (limited to 'host/lib')
-rw-r--r--host/lib/usrp/dboard/rhodium/rhodium_radio_ctrl_impl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/usrp/dboard/rhodium/rhodium_radio_ctrl_impl.cpp b/host/lib/usrp/dboard/rhodium/rhodium_radio_ctrl_impl.cpp
index a8de3aa51..6b870b333 100644
--- a/host/lib/usrp/dboard/rhodium/rhodium_radio_ctrl_impl.cpp
+++ b/host/lib/usrp/dboard/rhodium/rhodium_radio_ctrl_impl.cpp
@@ -162,7 +162,7 @@ void rhodium_radio_ctrl_impl::_set_rx_fe_connection(const std::string &conn)
{
UHD_LOG_TRACE(unique_id(), "set_rx_fe_connection(conn=" << conn << ")");
- if (conn != _tx_fe_connection)
+ if (conn != _rx_fe_connection)
{
_rx_fe_core->set_fe_connection(conn);
_rx_fe_connection = conn;