diff --git a/openair2/LAYER2/NR_MAC_gNB/mac_rrc_dl_handler.c b/openair2/LAYER2/NR_MAC_gNB/mac_rrc_dl_handler.c index bcb69f5824..5d7642c815 100644 --- a/openair2/LAYER2/NR_MAC_gNB/mac_rrc_dl_handler.c +++ b/openair2/LAYER2/NR_MAC_gNB/mac_rrc_dl_handler.c @@ -787,15 +787,15 @@ void ue_context_modification_request(const f1ap_ue_context_modif_req_t *req) // temporarily. Reapply now before doing the reconfiguration. UE->CellGroup->spCellConfig = UE->reconfigSpCellConfig; UE->reconfigSpCellConfig = NULL; + for (int i = 1; i < seq_arr_size(&UE->UE_sched_ctrl.lc_config); ++i) { + nr_lc_config_t *c = seq_arr_at(&UE->UE_sched_ctrl.lc_config, i); + c->suspended = false; + nr_rlc_reestablish_entity(req->gNB_DU_ue_id, c->lcid); + } } // we re-configure the BWP to apply the CellGroup and to use UE specific Search Space with DCIX1 nr_mac_clean_cellgroup(UE->CellGroup); configure_UE_BWP(mac, scc, UE, false, NR_SearchSpace__searchSpaceType_PR_ue_Specific, -1, -1); - for (int i = 1; i < seq_arr_size(&UE->UE_sched_ctrl.lc_config); ++i) { - nr_lc_config_t *c = seq_arr_at(&UE->UE_sched_ctrl.lc_config, i); - c->suspended = false; - nr_rlc_reestablish_entity(req->gNB_DU_ue_id, c->lcid); - } } if (ue_cap != NULL) {