aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/system_information.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2009-12-05 11:58:24 +0530
committerHarald Welte <laforge@gnumonks.org>2009-12-05 11:58:24 +0530
commita897bf3dedfa0e9ce83434389c23993b84079656 (patch)
tree7e4c1237e444b4c00d072c460477913e62ed650a /openbsc/src/system_information.c
parent1dfd0e254acdb44b150c53c1dd029ce25780f2f2 (diff)
[system_information] fix BCCH list generation for GSM900
We have to make sure to skip the global list header
Diffstat (limited to 'openbsc/src/system_information.c')
-rw-r--r--openbsc/src/system_information.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/openbsc/src/system_information.c b/openbsc/src/system_information.c
index d6d166c79..30d15ac65 100644
--- a/openbsc/src/system_information.c
+++ b/openbsc/src/system_information.c
@@ -136,6 +136,8 @@ static int generate_bcch_chan_list(u_int8_t *chan_list, const struct gsm_bts *bt
if (bts->band == GSM_BAND_900) {
chan_list[0] = 0;
llist_for_each_entry(cur_bts, &bts->list, list) {
+ if (&cur_bts->list == &bts->network->bts_list)
+ continue;
trx = cur_bts->c0;
rc = cchan_list_bm0_set_arfcn(chan_list, trx->arfcn);
if (rc < 0)