aboutsummaryrefslogtreecommitdiffstats
path: root/Transceiver52M/device/uhd/UHDDevice.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Transceiver52M/device/uhd/UHDDevice.cpp')
-rw-r--r--Transceiver52M/device/uhd/UHDDevice.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/Transceiver52M/device/uhd/UHDDevice.cpp b/Transceiver52M/device/uhd/UHDDevice.cpp
index 7a8eb9b..bc39a6d 100644
--- a/Transceiver52M/device/uhd/UHDDevice.cpp
+++ b/Transceiver52M/device/uhd/UHDDevice.cpp
@@ -264,8 +264,10 @@ bool uhd_device::set_band(enum gsm_band req_band)
return false;
}
- band = req_band;
- assign_band_desc(band);
+ if (band == 0) {
+ band = req_band;
+ assign_band_desc(band);
+ }
return true;
}