summaryrefslogtreecommitdiffstats
path: root/openbsc/src/libmsc
diff options
context:
space:
mode:
authorRafael Diniz <rafael@riseup.net>2019-04-18 18:16:32 -0300
committerHarald Welte <laforge@gnumonks.org>2019-04-21 09:59:39 +0000
commit86950a3754b3beabde8d3f69286d0dd7cacecc4e (patch)
treedeb02adea70be96991f24ac0a19564c641586287 /openbsc/src/libmsc
parentd6be5303546a2a383b76485ef19bf623688edb65 (diff)
Fixed MNCC_RTP_CREATE after MNCC_DISC_IND.
Diffstat (limited to 'openbsc/src/libmsc')
-rw-r--r--openbsc/src/libmsc/gsm_04_08.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/openbsc/src/libmsc/gsm_04_08.c b/openbsc/src/libmsc/gsm_04_08.c
index 09e35cce2..732fe85af 100644
--- a/openbsc/src/libmsc/gsm_04_08.c
+++ b/openbsc/src/libmsc/gsm_04_08.c
@@ -3787,6 +3787,9 @@ int mncc_tx_to_cc(struct gsm_network *net, int msg_type, void *arg)
return rc;
}
+ if (msg_type == MNCC_REL_REQ && conn->mncc_rtp_create_pending)
+ conn->mncc_rtp_create_pending = 0;
+
DEBUGP(DCC, "(bts %d trx %d ts %d ti %02x sub %s) "
"Received '%s' from MNCC in state %d (%s)\n",
conn->bts->nr, conn->lchan->ts->trx->nr, conn->lchan->ts->nr,