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

View file

@ -222,7 +222,7 @@ void ra_proc::step_resource_selection() {
if (preambleIndex > 0) { if (preambleIndex > 0) {
// Preamble is chosen by Higher layers (ie Network) // Preamble is chosen by Higher layers (ie Network)
sel_maskIndex = maskIndex; sel_maskIndex = maskIndex;
sel_preamble = (uint32_t) preambleIndex; sel_preamble = (uint32_t) preambleIndex%nof_preambles;
} else { } else {
// Preamble is chosen by MAC UE // Preamble is chosen by MAC UE
if (!msg3_transmitted) { if (!msg3_transmitted) {