aboutsummaryrefslogtreecommitdiffstats
path: root/src/common/rsl.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2012-01-15 11:25:11 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2012-01-15 18:09:40 +0100
commitbb9647f65108cd2f4f961306b1b4b8354e2d49bb (patch)
treea30478afa2c17449701c95b607cf9a371731d012 /src/common/rsl.c
parent2e677958d249fc16a975fbb1fbd861d9efe396e9 (diff)
ipa: Send the DLCX Indication with the right message discriminator
The IPA messages for RTP should use the IPA vendor as message discriminator.
Diffstat (limited to 'src/common/rsl.c')
-rw-r--r--src/common/rsl.c4
1 files changed, 2 insertions, 2 deletions
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;