bugfix: handle variable start_eNB in restart
This commit is contained in:
@@ -62,6 +62,9 @@ void handle_reconfiguration(mid_t mod_id)
|
||||
return;
|
||||
}
|
||||
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;
|
||||
LOG_I(ENB_APP, "lte-softmodem restart succeeded in %d ms\n", diff_ms);
|
||||
}
|
||||
|
||||
@@ -555,7 +555,8 @@ void *l2l1_task(void *arg) {
|
||||
|
||||
case TERMINATE_MESSAGE:
|
||||
LOG_W(TASK_L2L1, " *** Exiting L2L1 thread\n");
|
||||
oai_exit=1;
|
||||
oai_exit = 1;
|
||||
start_eNB = 0;
|
||||
itti_exit_task ();
|
||||
break;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user