From e5711efbb54c31afec2eb6791c5ce25f9eec785d Mon Sep 17 00:00:00 2001 From: Vadim Yanitskiy Date: Sat, 30 Nov 2019 06:24:32 +0700 Subject: common/abis.c: make use of RSL TEI from OML IPA RSL Connect Change-Id: I5927f59a49724170a63e87be604973f7c9d5d8be --- src/common/abis.c | 3 ++- src/common/oml.c | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/common/abis.c b/src/common/abis.c index 2da1ddd3..44b8eff2 100644 --- a/src/common/abis.c +++ b/src/common/abis.c @@ -128,7 +128,8 @@ static struct e1inp_sign_link *sign_link_up(void *unit, struct e1inp_line *line, e1inp_ts_config_sign(&line->ts[type-1], line); sign_link = trx->rsl_link = e1inp_sign_link_create(&line->ts[type-1], - E1INP_SIGN_RSL, trx, 0, 0); + E1INP_SIGN_RSL, trx, + trx->rsl_tei, 0); trx_link_estab(trx); break; } diff --git a/src/common/oml.c b/src/common/oml.c index 3defa494..7a62faae 100644 --- a/src/common/oml.c +++ b/src/common/oml.c @@ -1323,8 +1323,10 @@ static int rx_oml_ipa_rsl_connect(struct gsm_bts_trx *trx, struct msgb *msg, if (trx->bts->variant == BTS_OSMO_OMLDUMMY) { rc = 0; LOGP(DOML, LOGL_NOTICE, "%s: Not connecting RSL in OML-DUMMY!\n", trx_name); - } else + } else { + trx->rsl_tei = stream_id; rc = e1inp_ipa_bts_rsl_connect_n(oml_link->ts->line, inet_ntoa(in), port, trx->nr); + } if (rc < 0) { LOGP(DOML, LOGL_ERROR, "%s: Error in abis_open(RSL): %d\n", trx_name, rc); return oml_fom_ack_nack(msg, NM_NACK_CANT_PERFORM); -- cgit v1.2.3