[PATCH] openbsc[master]: cosmetic: dyn_pdch_init(): debug log: use new gsm_ts_and_pch...

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
Mon Jul 25 15:57:03 UTC 2016


Review at  https://gerrit.osmocom.org/590

cosmetic: dyn_pdch_init(): debug log: use new gsm_ts_and_pchan_name()

Change-Id: I396c2696bdbedb41a1f1fe2183f8eada57dc3413
---
M openbsc/src/libbsc/bsc_dyn_pdch.c
1 file changed, 4 insertions(+), 4 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/openbsc refs/changes/90/590/1

diff --git a/openbsc/src/libbsc/bsc_dyn_pdch.c b/openbsc/src/libbsc/bsc_dyn_pdch.c
index 26409a7..9d00bbc 100644
--- a/openbsc/src/libbsc/bsc_dyn_pdch.c
+++ b/openbsc/src/libbsc/bsc_dyn_pdch.c
@@ -35,14 +35,14 @@
 		return;
 
 	if (ts->trx->bts->gprs.mode == BTS_GPRS_NONE) {
-		LOGP(DRSL, LOGL_NOTICE, "%s %s: GPRS mode is 'none':"
+		LOGP(DRSL, LOGL_NOTICE, "%s: GPRS mode is 'none':"
 		     " not activating PDCH.\n",
-		     gsm_ts_name(ts), gsm_pchan_name(ts->pchan));
+		     gsm_ts_and_pchan_name(ts));
 		return;
 	}
 
-	LOGP(DRSL, LOGL_DEBUG, "%s %s: trying to PDCH ACT\n",
-	     gsm_ts_name(ts), gsm_pchan_name(ts->pchan));
+	LOGP(DRSL, LOGL_DEBUG, "%s: trying to PDCH ACT\n",
+	     gsm_ts_and_pchan_name(ts));
 
 	rc = rsl_ipacc_pdch_activate(ts, 1);
 	if (rc != 0)

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I396c2696bdbedb41a1f1fe2183f8eada57dc3413
Gerrit-PatchSet: 1
Gerrit-Project: openbsc
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>



More information about the gerrit-log mailing list