Avoid negative offset in neighbour cell search

master
Ismael Gomez 7 years ago
parent dc21580695
commit b77e3b0be5

@ -1099,7 +1099,7 @@ phch_recv::measure::ret_code phch_recv::measure::run_multiple_subframes(cf_t *in
ret_code ret = IDLE;
offset = offset-sf_len/2;
if (offset < 0) {
while (offset < 0) {
offset += sf_len;
sf_idx ++;
}

Loading…
Cancel
Save