fix issue when cell search doesn't set rx frequency because phy init takes too long

See commit f3c04949b7 for reference and a more
detailed description.
master
Andre Puschmann 7 years ago
parent d66a455479
commit 25ccd29646

@ -280,10 +280,8 @@ void phch_recv::cell_search_inc()
rrc->earfcn_end(); rrc->earfcn_end();
} else { } else {
Info("SYNC: Cell Search idx %d/%d\n", cur_earfcn_index, earfcn.size()); Info("SYNC: Cell Search idx %d/%d\n", cur_earfcn_index, earfcn.size());
if (current_earfcn != earfcn[cur_earfcn_index]) { current_earfcn = earfcn[cur_earfcn_index];
current_earfcn = earfcn[cur_earfcn_index]; set_frequency();
set_frequency();
}
phy_state = CELL_SEARCH; phy_state = CELL_SEARCH;
} }
} }

Loading…
Cancel
Save