Commit 614c4ab6 authored by Francesco Mani's avatar Francesco Mani

adding do_ra flag into new statement

parent c9d1fe85
...@@ -401,8 +401,7 @@ int create_gNB_tasks(uint32_t gnb_nb) { ...@@ -401,8 +401,7 @@ int create_gNB_tasks(uint32_t gnb_nb) {
} }
} }
if (EPC_MODE_ENABLED && (get_softmodem_params()->phy_test==0 && get_softmodem_params()->do_ra==0)) {
if (EPC_MODE_ENABLED && get_softmodem_params()->phy_test<0) {
if (gnb_nb > 0) { if (gnb_nb > 0) {
/*if (itti_create_task (TASK_SCTP, sctp_eNB_task, NULL) < 0) { /*if (itti_create_task (TASK_SCTP, sctp_eNB_task, NULL) < 0) {
LOG_E(SCTP, "Create task for SCTP failed\n"); LOG_E(SCTP, "Create task for SCTP failed\n");
...@@ -425,9 +424,7 @@ int create_gNB_tasks(uint32_t gnb_nb) { ...@@ -425,9 +424,7 @@ int create_gNB_tasks(uint32_t gnb_nb) {
LOG_E(GTPU, "Create task for GTPV1U failed\n"); LOG_E(GTPU, "Create task for GTPV1U failed\n");
return -1; return -1;
} }
} }
} }
......
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