From 6ca74929a23f2a3adda221b029cd28412f5b5947 Mon Sep 17 00:00:00 2001 From: Ismael Gomez Date: Fri, 2 Feb 2018 20:23:55 +0100 Subject: [PATCH] Revert "Fixed PRACH preamble when non-contention based RA" This reverts commit 8f206eb438d625a5edb27c499f4b71c2e7fca075. --- srsue/src/mac/proc_ra.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srsue/src/mac/proc_ra.cc b/srsue/src/mac/proc_ra.cc index f513324e9..d9a3e0d4d 100644 --- a/srsue/src/mac/proc_ra.cc +++ b/srsue/src/mac/proc_ra.cc @@ -222,7 +222,7 @@ void ra_proc::step_resource_selection() { if (preambleIndex > 0) { // Preamble is chosen by Higher layers (ie Network) sel_maskIndex = maskIndex; - sel_preamble = (uint32_t) preambleIndex; + sel_preamble = (uint32_t) preambleIndex%nof_preambles; } else { // Preamble is chosen by MAC UE if (!msg3_transmitted) {