diff --git a/srsue/src/phy/phch_recv.cc b/srsue/src/phy/phch_recv.cc index 6c7a8c1ea..c46316af9 100644 --- a/srsue/src/phy/phch_recv.cc +++ b/srsue/src/phy/phch_recv.cc @@ -1216,9 +1216,6 @@ phch_recv::measure::ret_code phch_recv::measure::run_subframe(uint32_t sf_idx) } mean_rsrp -= temporal_offset; } - } - - if (cnt > 2) { return MEASURE_OK; } else { return IDLE; diff --git a/srsue/src/upper/rrc.cc b/srsue/src/upper/rrc.cc index ad5cf29b2..f2e410e5d 100644 --- a/srsue/src/upper/rrc.cc +++ b/srsue/src/upper/rrc.cc @@ -1770,9 +1770,9 @@ void rrc::apply_rr_config_common_dl(LIBLTE_RRC_RR_CONFIG_COMMON_STRUCT *config) mac->get_config(&mac_cfg); if (config->rach_cnfg_present) { memcpy(&mac_cfg.rach, &config->rach_cnfg, sizeof(LIBLTE_RRC_RACH_CONFIG_COMMON_STRUCT)); + mac_cfg.ul_harq_params.max_harq_msg3_tx = config->rach_cnfg.max_harq_msg3_tx; } mac_cfg.prach_config_index = config->prach_cnfg.root_sequence_index; - mac_cfg.ul_harq_params.max_harq_msg3_tx = config->rach_cnfg.max_harq_msg3_tx; mac->set_config(&mac_cfg);