aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2021-09-21 13:48:18 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2021-09-21 13:48:20 +0200
commitc90b2078037d3fa174b08933d19a99a497ad669d (patch)
tree1717fcd2cf0139a1a986183f6a767625c58d4251
parent985694175dca0a2a9670aab75f178898be4e184b (diff)
lms: Drop duplicated check
Same check is already done by set_band(). Change-Id: I48d14f35e83fa17d1a8f4154479f0a5cee0f816d
-rw-r--r--Transceiver52M/device/lms/LMSDevice.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/Transceiver52M/device/lms/LMSDevice.cpp b/Transceiver52M/device/lms/LMSDevice.cpp
index 9b6c792..30fd665 100644
--- a/Transceiver52M/device/lms/LMSDevice.cpp
+++ b/Transceiver52M/device/lms/LMSDevice.cpp
@@ -1013,12 +1013,6 @@ bool LMSDevice::setTxFreq(double wFreq, size_t chan)
return false;
}
- if (band != 0 && req_band != band) {
- LOGCHAN(chan, DDEV, ALERT) << "Requesting Tx Frequency " << wFreq
- << " Hz different from previous band " << gsm_band_name(band);
- return false;
- }
-
if (!set_band(req_band))
return false;