aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/libbsc/bts_sysmobts.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2014-01-19 17:10:50 +0100
committerHarald Welte <laforge@gnumonks.org>2014-01-19 17:32:56 +0100
commit903aaea6689cc08c0e33fb05659c808a5e5f754f (patch)
tree6481e4cab3ef7dd62eccc037230c66f75aca6d44 /openbsc/src/libbsc/bts_sysmobts.c
parentcd4e74df95e0bbb18a46062d028f7e726f8916d4 (diff)
Do not expect all BTSs support TSC != BCC
We introduce a new feature indicating if the given BTS model supports a TSC that is different from the BCC (lower 3 bits of BSIC).
Diffstat (limited to 'openbsc/src/libbsc/bts_sysmobts.c')
-rw-r--r--openbsc/src/libbsc/bts_sysmobts.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/openbsc/src/libbsc/bts_sysmobts.c b/openbsc/src/libbsc/bts_sysmobts.c
index 754e277e5..e1bf661fc 100644
--- a/openbsc/src/libbsc/bts_sysmobts.c
+++ b/openbsc/src/libbsc/bts_sysmobts.c
@@ -51,6 +51,7 @@ int bts_model_sysmobts_init(void)
model_sysmobts.features.data = &model_sysmobts._features_data[0];
model_sysmobts.features.data_len =
sizeof(model_sysmobts._features_data);
+ memset(model_sysmobts.features.data, 0, sizeof(model_sysmobts.features.data_len));
gsm_btsmodel_set_feature(&model_sysmobts, BTS_FEAT_GPRS);
gsm_btsmodel_set_feature(&model_sysmobts, BTS_FEAT_EGPRS);