mirror of
https://gitea.osmocom.org/cellular-infrastructure/osmo-trx.git
synced 2025-11-02 21:23:16 +00:00
lms: Drop duplicated check
Same check is already done by set_band(). Change-Id: I48d14f35e83fa17d1a8f4154479f0a5cee0f816d
This commit is contained in:
@@ -1013,12 +1013,6 @@ bool LMSDevice::setTxFreq(double wFreq, size_t chan)
|
|||||||
return false;
|
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))
|
if (!set_band(req_band))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user