From 0b7f4b36be4e560a4dbb5f67a2257aa30602b4ee Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Tue, 29 Sep 2009 14:02:33 +0200 Subject: [lac] The lac must be 16 bit. Change it in gsm_bts and vty parsing The LAC can be 16bit of size. the generation of the LAI, struct gsm_subsriber and the BSC<->MSC was already using it as a 16bit (short) value. Change struct gsm_bts to parse 16bit and change the vty configuration parsing code to deal with a short too. --- openbsc/include/openbsc/gsm_data.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'openbsc/include/openbsc/gsm_data.h') diff --git a/openbsc/include/openbsc/gsm_data.h b/openbsc/include/openbsc/gsm_data.h index 918f30715..495f74119 100644 --- a/openbsc/include/openbsc/gsm_data.h +++ b/openbsc/include/openbsc/gsm_data.h @@ -301,7 +301,7 @@ struct gsm_bts { /* Cell Identity */ u_int16_t cell_identity; /* location area code of this BTS */ - u_int8_t location_area_code; + u_int16_t location_area_code; /* Training Sequence Code */ u_int8_t tsc; /* Base Station Identification Code (BSIC) */ -- cgit v1.2.3