From bb9647f65108cd2f4f961306b1b4b8354e2d49bb Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sun, 15 Jan 2012 11:25:11 +0100 Subject: ipa: Send the DLCX Indication with the right message discriminator The IPA messages for RTP should use the IPA vendor as message discriminator. --- src/common/rsl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/common/rsl.c') diff --git a/src/common/rsl.c b/src/common/rsl.c index a243322b..4c4d397a 100644 --- a/src/common/rsl.c +++ b/src/common/rsl.c @@ -1004,12 +1004,12 @@ int rsl_tx_ipac_dlcx_ind(struct gsm_lchan *lchan, uint8_t cause) LOGP(DRSL, LOGL_NOTICE, "%s Sending RTP delete indication: cause=%d\n", gsm_lchan_name(lchan), cause); - nmsg = rsl_msgb_alloc(sizeof(struct abis_rsl_common_hdr)); + nmsg = rsl_msgb_alloc(sizeof(struct abis_rsl_dchan_hdr)); if (!nmsg) return -ENOMEM; msgb_tlv_put(nmsg, RSL_IE_CAUSE, 1, &cause); - rsl_trx_push_hdr(nmsg, RSL_MT_IPAC_DLCX_IND); + rsl_ipa_push_hdr(nmsg, RSL_MT_IPAC_DLCX_IND, gsm_lchan2chan_nr(lchan)); nmsg->trx = lchan->ts->trx; -- cgit v1.2.3