[MERGED] 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/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Thu Jul 28 16:56:54 UTC 2016


Harald Welte has submitted this change and it was merged.

Change subject: cosmetic: dyn_pdch_init(): debug log: use new gsm_ts_and_pchan_name()
......................................................................


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(-)

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



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: merged
Gerrit-Change-Id: I396c2696bdbedb41a1f1fe2183f8eada57dc3413
Gerrit-PatchSet: 2
Gerrit-Project: openbsc
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_test_account <neels at hofmeyr.de>



More information about the gerrit-log mailing list