aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bts-trx/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/osmo-bts-trx/main.c')
-rw-r--r--src/osmo-bts-trx/main.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/osmo-bts-trx/main.c b/src/osmo-bts-trx/main.c
index 5a5c97ec..6e5a4cad 100644
--- a/src/osmo-bts-trx/main.c
+++ b/src/osmo-bts-trx/main.c
@@ -97,10 +97,8 @@ int bts_model_handle_options(int argc, char **argv)
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);
+ bts->support.ciphers = CIPHER_A5(1) | CIPHER_A5(2);
/* FIXME: this needs to be overridden with the real hardrware
* value */