UMTS: Fix invalid scambling length in uplink pilots

Inconsistent length values lead to segmentation fault on DCH setup.

Signed-off-by: Tom Tsou <tom@tsou.cc>
This commit is contained in:
Tom Tsou 2015-01-23 19:04:32 -08:00 committed by Michael Iedema
parent d0bae40d8b
commit 4519308545
1 changed files with 1 additions and 1 deletions

View File

@ -366,7 +366,7 @@ signalVector* RadioModem::UplinkPilotWaveforms(int scramblingCode, int codeInde
radioData_t *Qside = NULL;
scramble((radioData_t *) zeroIBurst,(radioData_t *) pilotSeq, numPilots*256,
scramI+gSlotLen*slot, scramQ+gSlotLen*slot,
gSlotLen,&Iside,&Qside);
numPilots*256, &Iside,&Qside);
signalVector pilotChips(seqSz);
signalVector::iterator itr = pilotChips.begin();
// FIXME: need to specify correlation size here