Fix bug introduced in 33ebde5387 causing the UE to disconnect when reselecting cell

This commit is contained in:
Ismael Gomez 2018-03-14 18:00:26 +01:00
parent 155ac12193
commit 209293104f
1 changed files with 1 additions and 1 deletions

View File

@ -661,7 +661,7 @@ void rrc::cell_camping(uint32_t earfcn, srslte_cell_t phy_cell, float rsrp) {
if (!ret) {
phy->cell_search_next();
}
} else if (!ho_syncing) {
} else if (state < RRC_STATE_CONNECTING) {
state = RRC_STATE_CELL_SELECTING;
}