summaryrefslogtreecommitdiffstats
path: root/src/host/trxcon/trxcon.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/host/trxcon/trxcon.c')
-rw-r--r--src/host/trxcon/trxcon.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/host/trxcon/trxcon.c b/src/host/trxcon/trxcon.c
index 0ff3a7a..c0d5da3 100644
--- a/src/host/trxcon/trxcon.c
+++ b/src/host/trxcon/trxcon.c
@@ -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);