Fixed PRACH preamble when non-contention based RA

This commit is contained in:
Ismael Gomez 2018-02-02 20:17:58 +01:00
parent 19129cf152
commit 8f206eb438
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%nof_preambles;
sel_preamble = (uint32_t) preambleIndex;
} else {
// Preamble is chosen by MAC UE
if (!msg3_transmitted) {