summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2016-03-27 16:45:35 +0200
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2016-03-27 17:05:48 +0200
commita4970327f2e050f697dd4e75fa1931902aa6c1de (patch)
treee5dc532c6732ae807b6db0f7cf4ea395de3eddd1
parent00a43e20ab4e16ac3822d204d98f7d8e2f11b7c2 (diff)
mncc: Stop timer when starting the release process
-rw-r--r--src/mncc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mncc.c b/src/mncc.c
index b9df78b..1d97703 100644
--- a/src/mncc.c
+++ b/src/mncc.c
@@ -196,6 +196,7 @@ static void mncc_call_leg_release(struct call_leg *_leg)
LOGP(DMNCC, LOGL_DEBUG,
"Releasing call in initial-state leg(%u)\n", leg->callref);
mncc_send(leg->conn, MNCC_REJ_REQ, leg->callref);
+ osmo_timer_del(&leg->cmd_timeout);
call_leg_release(_leg);
break;
case MNCC_CC_PROCEEDING: