From 877dee2ba89994a271b6afd253a924e0d1e94e26 Mon Sep 17 00:00:00 2001 From: Francisco Paisana Date: Tue, 2 Jun 2020 20:53:25 +0100 Subject: [PATCH] fix use of phy cell select procedure --- srsue/src/stack/rrc/rrc_procedures.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/srsue/src/stack/rrc/rrc_procedures.cc b/srsue/src/stack/rrc/rrc_procedures.cc index 366504e78..86e2bbdab 100644 --- a/srsue/src/stack/rrc/rrc_procedures.cc +++ b/srsue/src/stack/rrc/rrc_procedures.cc @@ -562,7 +562,10 @@ proc_outcome_t rrc::cell_selection_proc::start_cell_selection() Info("Serving cell %s is in-sync but not camping. Selecting it...\n", rrc_ptr->serving_cell->to_string().c_str()); state = search_state_t::serv_cell_camp; - rrc_ptr->stack->start_cell_select(&rrc_ptr->serving_cell->phy_cell); + if (not rrc_ptr->phy_cell_selector.launch(rrc_ptr->serving_cell->phy_cell)) { + Error("Failed to launch PHY Cell Selection\n"); + return proc_outcome_t::error; + } return proc_outcome_t::yield; } cs_result = cs_result_t::same_cell;