quickfix of prach_zero_correlation parameter range check

in openair2/ENB_APP/enb_config.c
it was tested against 63, it should be tested against 15
no impact on processing whatsoever so no need to test
This commit is contained in:
Cedric Roux
2016-02-29 12:08:11 +01:00
parent 1473a3a652
commit 5d62584c9f
+1 -1
View File
@@ -1019,7 +1019,7 @@ const Enb_properties_array_t *enb_config_init(char* lib_config_file_name_pP)
enb_properties.properties[enb_properties_index]->prach_zero_correlation[j] =prach_zero_correlation;
if ((prach_zero_correlation <0) || (prach_zero_correlation > 63))
if ((prach_zero_correlation <0) || (prach_zero_correlation > 15))
AssertError (0, parse_errors ++,
"Failed to parse eNB configuration file %s, enb %d unknown value \"%d\" for prach_zero_correlation choice: 0..15!\n",
lib_config_file_name_pP, i, prach_zero_correlation);