From 5c7ea6f6df3708048840a825a61a69c6c3e9ed11 Mon Sep 17 00:00:00 2001 From: Francisco Date: Tue, 8 Jun 2021 13:25:42 +0100 Subject: [PATCH] bugfix,srsenb,rrc: remove redundant calls to setup PDCP/RLC bearer state during reestablishment --- srsenb/src/stack/rrc/rrc_ue.cc | 5 ----- 1 file changed, 5 deletions(-) diff --git a/srsenb/src/stack/rrc/rrc_ue.cc b/srsenb/src/stack/rrc/rrc_ue.cc index d4454671a..81f6871f9 100644 --- a/srsenb/src/stack/rrc/rrc_ue.cc +++ b/srsenb/src/stack/rrc/rrc_ue.cc @@ -699,11 +699,6 @@ void rrc::ue::handle_rrc_con_reest_complete(rrc_conn_reest_complete_s* msg, srsr // signal mac scheduler that configuration was successful mac_ctrl.handle_con_reest_complete(); - // Activate security for SRB1 - parent->pdcp->config_security(rnti, srb_to_lcid(lte_srb::srb1), ue_security_cfg.get_as_sec_cfg()); - parent->pdcp->enable_integrity(rnti, srb_to_lcid(lte_srb::srb1)); - parent->pdcp->enable_encryption(rnti, srb_to_lcid(lte_srb::srb1)); - state = RRC_STATE_REESTABLISHMENT_COMPLETE; // 2> if the UE has radio link failure or handover failure information available