mncc: Stop timer when starting the release process

This commit is contained in:
Holger Hans Peter Freyther 2016-03-27 16:45:35 +02:00
parent 00a43e20ab
commit a4970327f2
1 changed files with 1 additions and 0 deletions

View File

@ -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: