diff options
author | Max <msuraev@sysmocom.de> | 2017-05-08 14:26:29 +0200 |
---|---|---|
committer | Max <msuraev@sysmocom.de> | 2017-05-10 07:50:00 +0000 |
commit | 8913b29be206ed3ade7376128649918f8c23f88b (patch) | |
tree | 39c1da88f05407c716236716294786e792dbc4f0 /src/osmo-bts-trx/main.c | |
parent | 028820510e53d3c2c7e7547155f349605bd6e5ab (diff) |
Set BTS variant while initializing BTS model
This will allow proper BTS attribute reporting via OML in follow-up
patches.
Change-Id: I1c49d6c39fb4dac7a46ee25ceacf4c6ef0f0b736
Related: OS#1614
Diffstat (limited to 'src/osmo-bts-trx/main.c')
-rw-r--r-- | src/osmo-bts-trx/main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/osmo-bts-trx/main.c b/src/osmo-bts-trx/main.c index 98066cab..0148e5bb 100644 --- a/src/osmo-bts-trx/main.c +++ b/src/osmo-bts-trx/main.c @@ -99,6 +99,7 @@ int bts_model_init(struct gsm_bts *bts) { struct gsm_bts_role_bts *btsb = bts_role_bts(bts); + bts->variant = BTS_OSMO_TRX; btsb->support.ciphers = CIPHER_A5(1) | CIPHER_A5(2); /* FIXME: this needs to be overridden with the real hardrware |