From 825d363d448ba83427843a231a6a2eec218ab9ed Mon Sep 17 00:00:00 2001 From: Ismael Gomez Date: Fri, 3 Dec 2021 11:29:23 +0100 Subject: [PATCH] srsue,nr: fix crnti mac CE not being added in msg3 --- srsue/src/stack/mac_nr/mux_nr.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/srsue/src/stack/mac_nr/mux_nr.cc b/srsue/src/stack/mac_nr/mux_nr.cc index 24bea2afd..78dc7b090 100644 --- a/srsue/src/stack/mac_nr/mux_nr.cc +++ b/srsue/src/stack/mac_nr/mux_nr.cc @@ -69,6 +69,7 @@ srsran::unique_byte_buffer_t mux_nr::get_pdu(uint32_t max_pdu_len) tx_pdu.init_tx(phy_tx_pdu.get(), max_pdu_len, true); if (msg3_is_pending() && mac.has_crnti()) { + tx_pdu.add_crnti_ce(mac.get_crnti()); msg3_transmitted(); }