From 1db4644c7b5443592d06c5661d7a7defec21f9c3 Mon Sep 17 00:00:00 2001 From: Ismael Gomez Date: Tue, 13 Feb 2018 23:46:12 +0100 Subject: [PATCH] Set PHY crnti before RA done no contention --- srsue/src/mac/proc_ra.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/srsue/src/mac/proc_ra.cc b/srsue/src/mac/proc_ra.cc index 3860fd809..b7aa90b26 100644 --- a/srsue/src/mac/proc_ra.cc +++ b/srsue/src/mac/proc_ra.cc @@ -347,7 +347,8 @@ void ra_proc::tb_decoded_ok() { if (preambleIndex > 0) { // Preamble selected by Network - state = COMPLETION; + phy_h->set_crnti(rntis->crnti); + state = COMPLETION; } else { // Preamble selected by UE MAC mux_unit->msg3_prepare();