fixeria has uploaded this change for review. (
https://gerrit.osmocom.org/c/osmocom-bb/+/28677 )
Change subject: trxcon: fix trx_if_close(): delete TRXC timer if it's pending
......................................................................
trxcon: fix trx_if_close(): delete TRXC timer if it's pending
Change-Id: I669355ec03f67de437df2d3b822ed0a728b405d5
---
M src/host/trxcon/src/trx_if.c
1 file changed, 3 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmocom-bb refs/changes/77/28677/1
diff --git a/src/host/trxcon/src/trx_if.c b/src/host/trxcon/src/trx_if.c
index c3dee24..e7327c9 100644
--- a/src/host/trxcon/src/trx_if.c
+++ b/src/host/trxcon/src/trx_if.c
@@ -768,6 +768,9 @@
LOGPFSML(trx->fi, LOGL_NOTICE, "Shutdown transceiver interface\n");
+ if (osmo_timer_pending(&trx->trx_ctrl_timer))
+ osmo_timer_del(&trx->trx_ctrl_timer);
+
/* Flush CTRL message list */
trx_if_flush_ctrl(trx);
--
To view, visit
https://gerrit.osmocom.org/c/osmocom-bb/+/28677
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: osmocom-bb
Gerrit-Branch: master
Gerrit-Change-Id: I669355ec03f67de437df2d3b822ed0a728b405d5
Gerrit-Change-Number: 28677
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-MessageType: newchange