SRSUE: listen to paging only when RRC is IDLE

master
Xavier Arteaga 5 years ago committed by Andre Puschmann
parent fe199e6be2
commit 5302fcfa4d

@ -873,7 +873,10 @@ proc_outcome_t rrc::cell_reselection_proc::step()
Info("Cell Selection completed. Handling its result...\n"); Info("Cell Selection completed. Handling its result...\n");
switch (*cell_selection_fut.value()) { switch (*cell_selection_fut.value()) {
case cs_result_t::changed_cell: case cs_result_t::changed_cell:
Info("New cell has been selected\n"); if (rrc_ptr->state == rrc_state_t::RRC_STATE_IDLE) {
Info("New cell has been selected, start receiving PCCH\n");
rrc_ptr->mac->pcch_start_rx();
}
break; break;
case cs_result_t::no_cell: case cs_result_t::no_cell:
Warning("Could not find any cell to camp on\n"); Warning("Could not find any cell to camp on\n");

Loading…
Cancel
Save