aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/libbsc/system_information.c
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/libbsc/system_information.c
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/libbsc/system_information.c')
-rw-r--r--openbsc/src/libbsc/system_information.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/openbsc/src/libbsc/system_information.c b/openbsc/src/libbsc/system_information.c
index a3deefc73..97827f2d9 100644
--- a/openbsc/src/libbsc/system_information.c
+++ b/openbsc/src/libbsc/system_information.c
@@ -792,6 +792,9 @@ static int generate_si13(uint8_t *output, struct gsm_bts *bts)
si13_default.no_pbcch.rac = bts->gprs.rac;
si13_default.no_pbcch.net_ctrl_ord = bts->gprs.net_ctrl_ord;
+ /* Information about the other SIs */
+ si13_default.bcch_change_mark = bts->bcch_change_mark;
+
ret = rest_octets_si13(si13->rest_octets, &si13_default);
if (ret < 0)
return ret;