Modify not to use initializations of usual test in L2 FAPI simulator.

This commit is contained in:
Y_Tomita
2018-10-22 13:30:09 +09:00
parent d27a0cbb23
commit 7a755d8df6
+2 -2
View File
@@ -1049,7 +1049,7 @@ if (nfapi_mode==2) {// VNF
number_of_cards = 1;
printf("RC.nb_L1_inst:%d\n", RC.nb_L1_inst);
if (RC.nb_L1_inst > 0) {
if (RC.nb_L1_inst > 0 && nfapi_mode != 2) {
printf("Initializing eNB threads single_thread_flag:%d wait_for_sync:%d\n", single_thread_flag,wait_for_sync);
init_eNB(single_thread_flag,wait_for_sync);
// for (inst=0;inst<RC.nb_L1_inst;inst++)
@@ -1060,7 +1060,7 @@ if (nfapi_mode==2) {// VNF
wait_eNBs();
printf("About to Init RU threads RC.nb_RU:%d\n", RC.nb_RU);
if (RC.nb_RU >0) {
if (RC.nb_RU >0 && nfapi_mode != 2) {
printf("Initializing RU threads\n");
init_RU(rf_config_file);
for (ru_id=0;ru_id<RC.nb_RU;ru_id++) {