Skip to content
Snippets Groups Projects
Commit f39dd5df authored by Robert Schmidt's avatar Robert Schmidt
Browse files

bugfix: handle variable start_eNB in restart

parent fea64122
Branches
Tags
No related merge requests found
...@@ -62,6 +62,9 @@ void handle_reconfiguration(mid_t mod_id) ...@@ -62,6 +62,9 @@ void handle_reconfiguration(mid_t mod_id)
return; return;
} }
enb_app_start_phy_rrc(mod_id, mod_id+1); enb_app_start_phy_rrc(mod_id, mod_id+1);
MessageDef *msg_p = itti_alloc_new_message(TASK_ENB_APP, INITIALIZE_MESSAGE);
itti_send_msg_to_task(TASK_L2L1, INSTANCE_DEFAULT, msg_p);
int diff_ms = (1000 * clock() - start_ms) / CLOCKS_PER_SEC; int diff_ms = (1000 * clock() - start_ms) / CLOCKS_PER_SEC;
LOG_I(ENB_APP, "lte-softmodem restart succeeded in %d ms\n", diff_ms); LOG_I(ENB_APP, "lte-softmodem restart succeeded in %d ms\n", diff_ms);
} }
......
...@@ -556,6 +556,7 @@ void *l2l1_task(void *arg) { ...@@ -556,6 +556,7 @@ void *l2l1_task(void *arg) {
case TERMINATE_MESSAGE: case TERMINATE_MESSAGE:
LOG_W(TASK_L2L1, " *** Exiting L2L1 thread\n"); LOG_W(TASK_L2L1, " *** Exiting L2L1 thread\n");
oai_exit = 1; oai_exit = 1;
start_eNB = 0;
itti_exit_task (); itti_exit_task ();
break; break;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment