From a897bf3dedfa0e9ce83434389c23993b84079656 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Sat, 5 Dec 2009 11:58:24 +0530 Subject: [system_information] fix BCCH list generation for GSM900 We have to make sure to skip the global list header --- openbsc/src/system_information.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'openbsc/src/system_information.c') 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) -- cgit v1.2.3