lms: Drop duplicated check

Same check is already done by set_band().

Change-Id: I48d14f35e83fa17d1a8f4154479f0a5cee0f816d
This commit is contained in:
Pau Espin 2021-09-21 13:48:18 +02:00
parent 985694175d
commit c90b207803
1 changed files with 0 additions and 6 deletions

View File

@ -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;