aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/libcommon
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2014-11-21 10:00:39 +0100
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2014-11-21 11:23:47 +0100
commitb92a538d236ccffe97803279ecbaa242f8faa66a (patch)
tree9ee788fcef5ad6f5553ac870c7f117994a32a164 /openbsc/src/libcommon
parent8a64141a533c0b090bbeb756bb8eac2eee457ad4 (diff)
bts: Store the bcch_change_mark in the bts structure
Store the BCCH change mark inside the BTS structure. This will allow us increment the number and re-generate the SIs. Related: SYS#739
Diffstat (limited to 'openbsc/src/libcommon')
-rw-r--r--openbsc/src/libcommon/gsm_data_shared.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/openbsc/src/libcommon/gsm_data_shared.c b/openbsc/src/libcommon/gsm_data_shared.c
index 8d5d0f85d..8687a1047 100644
--- a/openbsc/src/libcommon/gsm_data_shared.c
+++ b/openbsc/src/libcommon/gsm_data_shared.c
@@ -276,6 +276,9 @@ struct gsm_bts *gsm_bts_alloc(void *ctx)
bts->rach_ldavg_slots = -1;
bts->paging.free_chans_need = -1;
+ /* si handling */
+ bts->bcch_change_mark = 1;
+
return bts;
}