From 44dcbfc8da8779e9e393b249375c66889c3a2806 Mon Sep 17 00:00:00 2001 From: Ismael Gomez Date: Fri, 10 Aug 2018 20:05:59 +0200 Subject: [PATCH] Instruct PHY to measure objects instead of measId (duplicate objects) --- srsue/src/upper/rrc.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/srsue/src/upper/rrc.cc b/srsue/src/upper/rrc.cc index 65d492fda..968aac735 100644 --- a/srsue/src/upper/rrc.cc +++ b/srsue/src/upper/rrc.cc @@ -3348,9 +3348,8 @@ bool rrc::rrc_meas::parse_meas_config(LIBLTE_RRC_MEAS_CONFIG_STRUCT *cfg) void rrc::rrc_meas::update_phy() { phy->meas_reset(); - for(std::map::iterator iter=active.begin(); iter!=active.end(); ++iter) { - meas_t m = iter->second; - meas_obj_t o = objects[m.object_id]; + for(std::map::iterator iter=objects.begin(); iter!=objects.end(); ++iter) { + meas_obj_t o = iter->second; // Instruct PHY to look for neighbour cells on this frequency phy->meas_start(o.earfcn); for(std::map::iterator iter=o.meas_cells.begin(); iter!=o.meas_cells.end(); ++iter) {