PHCH Receive is reset, the current EARFCN becomes the first one in the list.

master
Xavier Arteaga 7 years ago
parent a0fff683f2
commit f3c04949b7

@ -132,7 +132,11 @@ void phch_recv::reset()
next_offset = 0; next_offset = 0;
cell_is_set = false; cell_is_set = false;
srate_mode = SRATE_NONE; srate_mode = SRATE_NONE;
if (!earfcn.empty()) {
current_earfcn = earfcn[0];
} else {
current_earfcn = 0; current_earfcn = 0;
}
sfn_p.reset(); sfn_p.reset();
measure_p.reset(); measure_p.reset();
search_p.reset(); search_p.reset();

Loading…
Cancel
Save