From 2b84132d44789d00e171298f499ff01880fa64cd Mon Sep 17 00:00:00 2001
From: Balint Seeber <balint@ettus.com>
Date: Wed, 13 Mar 2013 13:20:57 -0700
Subject: cal: fixed typo that selects correct RX front-end in cal utils header
 (typo from copy-pasta still selected TX front-end)

---
 host/utils/usrp_cal_utils.hpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/host/utils/usrp_cal_utils.hpp b/host/utils/usrp_cal_utils.hpp
index 825d94d64..ba9ebe35a 100644
--- a/host/utils/usrp_cal_utils.hpp
+++ b/host/utils/usrp_cal_utils.hpp
@@ -75,7 +75,7 @@ static inline void set_optimum_defaults(uhd::usrp::multi_usrp::sptr usrp){
         throw std::runtime_error("self-calibration is not supported for this hardware");
     }
 
-    const uhd::fs_path rx_fe_path = "/mboards/0/dboards/A/tx_frontends/0";
+    const uhd::fs_path rx_fe_path = "/mboards/0/dboards/A/rx_frontends/0";
     const std::string rx_name = tree->access<std::string>(rx_fe_path / "name").get();
     if (rx_name.find("WBX") != std::string::npos or rx_name.find("SBX") != std::string::npos){
         usrp->set_rx_gain(25);
-- 
cgit v1.2.3