aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib
diff options
context:
space:
mode:
Diffstat (limited to 'host/lib')
-rw-r--r--host/lib/usrp/dboard/magnesium/magnesium_radio_control.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/usrp/dboard/magnesium/magnesium_radio_control.cpp b/host/lib/usrp/dboard/magnesium/magnesium_radio_control.cpp
index b84fcee6d..d0e1e60ec 100644
--- a/host/lib/usrp/dboard/magnesium/magnesium_radio_control.cpp
+++ b/host/lib/usrp/dboard/magnesium/magnesium_radio_control.cpp
@@ -337,7 +337,7 @@ double magnesium_radio_control_impl::set_rx_frequency(
}
// external LO required to tune at 2xdesired_frequency.
const double lo1_freq =
- (ad9371_source == "internal" ? 1 : 2) * coerced_if_freq + freq;
+ (ad9371_source == "internal" ? 1 : 2) * (coerced_if_freq + freq);
this->_set_rx_lo_freq(ad9371_source, MAGNESIUM_LO1, lo1_freq, chan);