From cb86c45895633803056fcc0fff95e2d6e9a0f1e7 Mon Sep 17 00:00:00 2001
From: Alex Williams <alex.williams@ni.com>
Date: Wed, 27 Feb 2019 11:02:23 -0800
Subject: 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.
---
 host/lib/usrp/dboard/rhodium/rhodium_radio_ctrl_impl.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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;
-- 
cgit v1.2.3