From 2a2babbeacff5f3aa474ff9632ed77a9e7eb5f11 Mon Sep 17 00:00:00 2001 From: Vadim Yanitskiy Date: Wed, 20 Jul 2022 07:14:43 +0700 Subject: [PATCH] trxcon: fix trx_if_close(): delete TRXC timer if it's pending Change-Id: I669355ec03f67de437df2d3b822ed0a728b405d5 --- src/host/trxcon/src/trx_if.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/host/trxcon/src/trx_if.c b/src/host/trxcon/src/trx_if.c index 1ab6ffda9..f627de8e1 100644 --- a/src/host/trxcon/src/trx_if.c +++ b/src/host/trxcon/src/trx_if.c @@ -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);