aboutsummaryrefslogtreecommitdiffstats
path: root/src/common
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2013-03-13 12:40:44 +0100
committerHarald Welte <laforge@gnumonks.org>2013-03-13 12:42:01 +0100
commitf0bdc1e5629778500fa06bde08bb90cb7b8c11cb (patch)
tree04568ceaec40decff6222427d34959dc076d7512 /src/common
parent294fd1b650e4482775fdd604288fc928e66ef81c (diff)
RSL: Fix Channel Number IE in Common Channel RSL messages
As per Chapter 9.3 of TS 08.58, we have to use RSL_IE_CHAN_NR instead of the zero we were implicitly using so far.
Diffstat (limited to 'src/common')
-rw-r--r--src/common/rsl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/rsl.c b/src/common/rsl.c
index 2aec0cee..9a50a335 100644
--- a/src/common/rsl.c
+++ b/src/common/rsl.c
@@ -217,6 +217,7 @@ static void rsl_cch_push_hdr(struct msgb *msg, uint8_t msg_type, uint8_t chan_nr
cch = (struct abis_rsl_cchan_hdr *) msgb_push(msg, sizeof(*cch));
cch->c.msg_discr = ABIS_RSL_MDISC_COM_CHAN;
cch->c.msg_type = msg_type;
+ cch->ie_chan = RSL_IE_CHAN_NR;
cch->chan_nr = chan_nr;
}