From f5ca40e3bf8370b0164f30b6d26d01738d0ccd2b Mon Sep 17 00:00:00 2001 From: Pedro Alvarez Date: Fri, 16 Oct 2020 17:37:19 +0100 Subject: [PATCH] Make sure that security is enabled after sending RRC reestablish, so that reestablish complete is integrity checked and unciphered. --- srsenb/src/stack/rrc/rrc_ue.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/srsenb/src/stack/rrc/rrc_ue.cc b/srsenb/src/stack/rrc/rrc_ue.cc index a6df2e993..e1ca71961 100644 --- a/srsenb/src/stack/rrc/rrc_ue.cc +++ b/srsenb/src/stack/rrc/rrc_ue.cc @@ -366,6 +366,8 @@ void rrc::ue::handle_rrc_con_reest_req(rrc_conn_reest_request_s* msg) old_reest_pdcp_state[lcid].next_pdcp_rx_sn, old_reest_pdcp_state[lcid].last_submitted_pdcp_rx_sn); } + // Apply PDCP configuration to SRB1 + apply_pdcp_srb_updates(); // Make sure UE capabilities are copied over to new RNTI eutra_capabilities = parent->users[old_rnti]->eutra_capabilities;