Change in osmo-bts[master]: common/abis.c: pass gsm_bts_trx to e1inp_sign_link_create()

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

fixeria gerrit-no-reply at lists.osmocom.org
Mon Dec 2 09:51:47 UTC 2019


fixeria has submitted this change. ( https://gerrit.osmocom.org/c/osmo-bts/+/16339 )

Change subject: common/abis.c: pass gsm_bts_trx to e1inp_sign_link_create()
......................................................................

common/abis.c: pass gsm_bts_trx to e1inp_sign_link_create()

Change-Id: I8a6242d3e02f9bd19d287ecad18e001a5991175f
---
M src/common/abis.c
1 file changed, 2 insertions(+), 4 deletions(-)

Approvals:
  Jenkins Builder: Verified
  pespin: Looks good to me, approved
  laforge: Looks good to me, approved



diff --git a/src/common/abis.c b/src/common/abis.c
index 24eb8a1..e18e8d9 100644
--- a/src/common/abis.c
+++ b/src/common/abis.c
@@ -108,12 +108,11 @@
 		e1inp_ts_config_sign(&line->ts[E1INP_SIGN_OML-1], line);
 		sign_link = g_bts->oml_link =
 			e1inp_sign_link_create(&line->ts[E1INP_SIGN_OML-1],
-						E1INP_SIGN_OML, NULL, 255, 0);
+						E1INP_SIGN_OML, g_bts->c0, 255, 0);
 		if (clock_gettime(CLOCK_MONOTONIC, &g_bts->oml_conn_established_timestamp) != 0)
 			memset(&g_bts->oml_conn_established_timestamp, 0,
 			       sizeof(g_bts->oml_conn_established_timestamp));
 		drain_oml_queue(g_bts);
-		sign_link->trx = g_bts->c0;
 		bts_link_estab(g_bts);
 		break;
 	default:
@@ -129,8 +128,7 @@
 		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, NULL, 0, 0);
-		sign_link->trx = trx;
+						E1INP_SIGN_RSL, trx, 0, 0);
 		trx_link_estab(trx);
 		break;
 	}

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/16339
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: I8a6242d3e02f9bd19d287ecad18e001a5991175f
Gerrit-Change-Number: 16339
Gerrit-PatchSet: 2
Gerrit-Owner: fixeria <axilirator at gmail.com>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <axilirator at gmail.com>
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20191202/5bac5c89/attachment.htm>


More information about the gerrit-log mailing list