aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bsc/system_information.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2018-09-09 17:21:50 +0200
committerHarald Welte <laforge@gnumonks.org>2018-09-09 17:23:56 +0200
commit20703eb9dcf0d814bb0a7d2dc5c84ffd3f9f8378 (patch)
tree7607498a1956422ad15147b9fe76d9be0de752fc /src/osmo-bsc/system_information.c
parent24286f37b749713290c5f90c5a0761ea41b748a1 (diff)
CBCH: Fix SI4 CBCH IE generation
When a CBCH is present in the cell, SI4 contains the channel description of the CBCH. As SI4 may be generated at a time when the underlying timeslot is not configured yet, we need to generate the channel description for the _configured_ channel combination, not the currently used one. Change-Id: Idbf9b8e4b1ef0e0348580b83f91355b3236d8609 Closes: OS#3532
Diffstat (limited to 'src/osmo-bsc/system_information.c')
-rw-r--r--src/osmo-bsc/system_information.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osmo-bsc/system_information.c b/src/osmo-bsc/system_information.c
index 232a1b6a0..2104e9272 100644
--- a/src/osmo-bsc/system_information.c
+++ b/src/osmo-bsc/system_information.c
@@ -963,7 +963,7 @@ static int generate_si4(enum osmo_sysinfo_type t, struct gsm_bts *bts)
cbch_lchan = gsm_bts_get_cbch(bts);
if (cbch_lchan) {
struct gsm48_chan_desc cd;
- gsm48_lchan2chan_desc(&cd, cbch_lchan);
+ gsm48_lchan2chan_desc_as_configured(&cd, cbch_lchan);
tv_fixed_put(si4->data, GSM48_IE_CBCH_CHAN_DESC, 3,
(uint8_t *) &cd);
l2_plen += 3 + 1;