Commit 49b5e62d authored by knopp's avatar knopp

removed bug introduced in ra_procedures.c

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7766 818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent d36446e5
......@@ -122,7 +122,7 @@ void get_prach_resources(module_id_t module_idP,
RACH_ConfigCommon_t *rach_ConfigCommon = NULL;
uint8_t noGroupB = 0;
uint8_t f_id = 0,num_prach=0;
int numberOfRA_Preambles = (1+rach_ConfigCommon->preambleInfo.numberOfRA_Preambles)<<2;
int numberOfRA_Preambles;
int messageSizeGroupA;
int sizeOfRA_PreamblesGroupA;
int messagePowerOffsetGroupB;
......@@ -142,6 +142,8 @@ void get_prach_resources(module_id_t module_idP,
return; // not reached
}
numberOfRA_Preambles = (1+rach_ConfigCommon->preambleInfo.numberOfRA_Preambles)<<2;
if (rach_ConfigDedicated) { // This is for network controlled Mobility, later
if (rach_ConfigDedicated->ra_PRACH_MaskIndex != 0) {
prach_resources->ra_PreambleIndex = rach_ConfigDedicated->ra_PreambleIndex;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment