diff options
author | Neels Hofmeyr <neels@hofmeyr.de> | 2021-05-26 23:30:01 +0200 |
---|---|---|
committer | Neels Hofmeyr <neels@hofmeyr.de> | 2021-06-10 16:15:35 +0200 |
commit | 95ec269f0a7c3c0f69faf2912ea4952f391d3167 (patch) | |
tree | 0b17d52e68ba1b31d55f2f51cafe9d66b00ad066 /src/osmo-bsc/bts_trx.c | |
parent | dc2bcdacdd022ae5d90aaf3fb53614cd524e81cc (diff) |
RSL: set default TEI according to TRX number
Change-Id: I3c500f7a5afc9143d4ea7102ab96e52aeb67b4b6
Diffstat (limited to 'src/osmo-bsc/bts_trx.c')
-rw-r--r-- | src/osmo-bsc/bts_trx.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/osmo-bsc/bts_trx.c b/src/osmo-bsc/bts_trx.c index f23f16e79..f18374259 100644 --- a/src/osmo-bsc/bts_trx.c +++ b/src/osmo-bsc/bts_trx.c @@ -67,6 +67,8 @@ struct gsm_bts_trx *gsm_bts_trx_alloc(struct gsm_bts *bts) trx->bts = bts; trx->nr = bts->num_trx++; + trx->rsl_tei_primary = trx->nr; + trx->mo.fi = osmo_fsm_inst_alloc(&nm_rcarrier_fsm, trx, trx, LOGL_INFO, NULL); osmo_fsm_inst_update_id_f(trx->mo.fi, "bts%d-trx%d", bts->nr, trx->nr); |