trxcon: fix trx_if_close(): delete TRXC timer if it's pending

Change-Id: I669355ec03f67de437df2d3b822ed0a728b405d5
This commit is contained in:
Vadim Yanitskiy 2022-07-20 07:14:43 +07:00
parent 0e0d266812
commit 2a2babbeac
1 changed files with 3 additions and 0 deletions

View File

@ -768,6 +768,9 @@ void trx_if_close(struct trx_instance *trx)
LOGPFSML(trx->fi, LOGL_NOTICE, "Shutdown transceiver interface\n");
/* Abort TRXC response timer (if pending) */
osmo_timer_del(&trx->trx_ctrl_timer);
/* Flush CTRL message list */
trx_if_flush_ctrl(trx);