aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/dboard
diff options
context:
space:
mode:
authorTrung N Tran <trung.tran@ettus.com>2017-12-11 13:27:46 -0800
committerMartin Braun <martin.braun@ettus.com>2017-12-22 15:05:57 -0800
commit73eb899e533d29c456eed1bc0ae72ff65676daf1 (patch)
tree0c594d9566d8995d2b931754633db07bf373c625 /host/lib/usrp/dboard
parent7766d5ef3953ce6c6b73e82ca08e34b02cfeb2d9 (diff)
downloaduhd-73eb899e533d29c456eed1bc0ae72ff65676daf1.tar.gz
uhd-73eb899e533d29c456eed1bc0ae72ff65676daf1.tar.bz2
uhd-73eb899e533d29c456eed1bc0ae72ff65676daf1.zip
n3xx: fix TX power loss
Need to set RF frequency after set_tx_frequency done.
Diffstat (limited to 'host/lib/usrp/dboard')
-rw-r--r--host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_impl.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_impl.cpp b/host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_impl.cpp
index 090281d82..db372ebfb 100644
--- a/host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_impl.cpp
+++ b/host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_impl.cpp
@@ -240,6 +240,7 @@ double magnesium_radio_ctrl_impl::set_tx_frequency(
//const double actual_ad9371_freq =
_ad9371->set_frequency(freq, chan, TX_DIRECTION);
+ radio_ctrl_impl::set_tx_frequency(freq, chan)
this->_update_gain(chan, TX_DIRECTION);
return freq; // FIXME calc the actual frequency
}