[MERGED] osmo-bts[master]: sysmo: ts_connect: log channel combination name instead of n...

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
Sun Aug 21 14:02:30 UTC 2016


Neels Hofmeyr has submitted this change and it was merged.

Change subject: sysmo: ts_connect: log channel combination name instead of number
......................................................................


sysmo: ts_connect: log channel combination name instead of number

Change-Id: Ife11cfdb0f83d56ed61e66286a79b7c3a000cce5
---
M src/osmo-bts-sysmo/femtobts.h
M src/osmo-bts-sysmo/oml.c
2 files changed, 4 insertions(+), 3 deletions(-)

Approvals:
  Neels Hofmeyr: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/src/osmo-bts-sysmo/femtobts.h b/src/osmo-bts-sysmo/femtobts.h
index 8be198f..9163ebb 100644
--- a/src/osmo-bts-sysmo/femtobts.h
+++ b/src/osmo-bts-sysmo/femtobts.h
@@ -83,7 +83,7 @@
 const struct value_string femtobts_tracef_docs[29];
 
 const struct value_string femtobts_tch_pl_names[15];
-
+const struct value_string femtobts_chcomb_names[8];
 const struct value_string femtobts_clksrc_names[10];
 
 const struct value_string femtobts_dir_names[6];
diff --git a/src/osmo-bts-sysmo/oml.c b/src/osmo-bts-sysmo/oml.c
index e5d3e40..6f0629d 100644
--- a/src/osmo-bts-sysmo/oml.c
+++ b/src/osmo-bts-sysmo/oml.c
@@ -505,9 +505,10 @@
 	cr->u8Tn = ts->nr;
 	cr->logChComb = pchan_to_logChComb[pchan];
 
-	DEBUGP(DL1C, "%s pchan=%s ts_connect_as(%s) logChComb=%d\n",
+	DEBUGP(DL1C, "%s pchan=%s ts_connect_as(%s) logChComb=%s\n",
 	       gsm_lchan_name(ts->lchan), gsm_pchan_name(ts->pchan),
-	       gsm_pchan_name(pchan), cr->logChComb);
+	       gsm_pchan_name(pchan), get_value_string(femtobts_chcomb_names,
+						       cr->logChComb));
 
 	return l1if_gsm_req_compl(fl1h, msg, cb, NULL);
 }

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ife11cfdb0f83d56ed61e66286a79b7c3a000cce5
Gerrit-PatchSet: 3
Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Owner: Max <msuraev at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Neels Hofmeyr <nhofmeyr at sysmocom.de>



More information about the gerrit-log mailing list