[MERGED] osmo-bts[master]: sysmo/oml.c: rename ts_connect() to ts_opstart()

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/.

Neels Hofmeyr gerrit-no-reply at lists.osmocom.org
Tue Jul 26 08:05:16 UTC 2016


Neels Hofmeyr has submitted this change and it was merged.

Change subject: sysmo/oml.c: rename ts_connect() to ts_opstart()
......................................................................


sysmo/oml.c: rename ts_connect() to ts_opstart()

ts_connect() is only called during OPSTART. Name it such because a special
case for OPSTART will be added there for dyn TS.

Change-Id: I09cc81e79661e8084aeebf8132435c207b2cf422
---
M src/osmo-bts-sysmo/oml.c
1 file changed, 2 insertions(+), 2 deletions(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/src/osmo-bts-sysmo/oml.c b/src/osmo-bts-sysmo/oml.c
index 01425aa..00c00fe 100644
--- a/src/osmo-bts-sysmo/oml.c
+++ b/src/osmo-bts-sysmo/oml.c
@@ -501,7 +501,7 @@
 	return l1if_gsm_req_compl(fl1h, msg, cb, NULL);
 }
 
-static int ts_connect(struct gsm_bts_trx_ts *ts)
+static int ts_opstart(struct gsm_bts_trx_ts *ts)
 {
 	return ts_connect_as(ts, ts->pchan, opstart_compl_cb, NULL);
 }
@@ -1714,7 +1714,7 @@
 		rc = trx_init(obj);
 		break;
 	case NM_OC_CHANNEL:
-		rc = ts_connect(obj);
+		rc = ts_opstart(obj);
 		break;
 	case NM_OC_BTS:
 	case NM_OC_SITE_MANAGER:

-- 
To view, visit https://gerrit.osmocom.org/606
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I09cc81e79661e8084aeebf8132435c207b2cf422
Gerrit-PatchSet: 1
Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Neels Hofmeyr <nhofmeyr at sysmocom.de>



More information about the gerrit-log mailing list