lms: Drop duplicated check
Same check is already done by set_band(). Change-Id: I48d14f35e83fa17d1a8f4154479f0a5cee0f816d
This commit is contained in:
parent
985694175d
commit
c90b207803
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue