host/trxcon: reset scheduler when L1CTL is lost

Change-Id: I1fd8a610085c8591a820e784b7122de7b3032d15
This commit is contained in:
Vadim Yanitskiy 2017-07-10 16:56:43 +07:00
parent ca1d021c83
commit 92aca364f7
1 changed files with 3 additions and 0 deletions

View File

@ -89,6 +89,9 @@ static void trxcon_fsm_managed_action(struct osmo_fsm_inst *fi,
osmo_fsm_inst_state_chg(trxcon_fsm, TRXCON_STATE_IDLE, 0, 0);
if (app_data.trx->fsm->state != TRX_STATE_OFFLINE) {
/* Reset scheduler */
sched_trx_reset(app_data.trx);
/* TODO: implement trx_if_reset() */
trx_if_flush_ctrl(app_data.trx);
trx_if_cmd_poweroff(app_data.trx);