summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Diniz <rafael@riseup.net>2019-04-18 18:16:32 -0300
committerRafael Diniz <rafael@riseup.net>2019-04-18 18:16:32 -0300
commit4f77a91fd86ee9ef7722276ca907d9245cf790f0 (patch)
tree9727d6ccfc0fde3b2c0d164704087307212c6e0a
parentd6be5303546a2a383b76485ef19bf623688edb65 (diff)
Fixed MNCC_RTP_CREATE after MNCC_DISC_IND.rafael2k/fix_rtp_create_after_disc_ind
-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 09e35cc..ca98d35 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,