Revert "Fixed PRACH preamble when non-contention based RA"

This reverts commit 8f206eb438.
This commit is contained in:
Ismael Gomez 2018-02-02 20:23:55 +01:00
parent 013c39abff
commit 6ca74929a2
1 changed files with 1 additions and 1 deletions

View File

@ -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) {