mirror of
https://github.com/RangeNetworks/openbts.git
synced 2025-11-21 15:08:06 +00:00
transceiver: fix initialization segfault in radio interface
'loadTest' variable was never initialized sometimes causing segmentation fault on transceiver startup. Signed-off-by: Thomas Tsou <ttsou@vt.edu> git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@2631 19bc5d8c-e614-43d4-8b26-e1612bc8e597
This commit is contained in:
@@ -84,6 +84,7 @@ RadioInterface::RadioInterface(RadioDevice *wRadio,
|
|||||||
samplesPerSymbol = wRadioOversampling;
|
samplesPerSymbol = wRadioOversampling;
|
||||||
mClock.set(wStartTime);
|
mClock.set(wStartTime);
|
||||||
powerScaling = 1.0;
|
powerScaling = 1.0;
|
||||||
|
loadTest = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
RadioInterface::~RadioInterface(void) {
|
RadioInterface::~RadioInterface(void) {
|
||||||
|
|||||||
Reference in New Issue
Block a user