Change in osmocom-bb[master]: layer23/app_ccch_scan.c: print pdisc in error message

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
Wed Oct 3 08:32:39 UTC 2018


Harald Welte has submitted this change and it was merged. ( https://gerrit.osmocom.org/11175 )

Change subject: layer23/app_ccch_scan.c: print pdisc in error message
......................................................................

layer23/app_ccch_scan.c: print pdisc in error message

Change-Id: Ic88f5d4b263610a376bbb9729e882097393ef2be
---
M src/host/layer23/src/misc/app_ccch_scan.c
1 file changed, 2 insertions(+), 1 deletion(-)

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



diff --git a/src/host/layer23/src/misc/app_ccch_scan.c b/src/host/layer23/src/misc/app_ccch_scan.c
index 49adee9..5727174 100644
--- a/src/host/layer23/src/misc/app_ccch_scan.c
+++ b/src/host/layer23/src/misc/app_ccch_scan.c
@@ -382,7 +382,8 @@
 	int rc = 0;
 
 	if (sih->rr_protocol_discriminator != GSM48_PDISC_RR)
-		LOGP(DRR, LOGL_ERROR, "PCH pdisc != RR\n");
+		LOGP(DRR, LOGL_ERROR, "PCH pdisc (%s) != RR\n",
+			gsm48_pdisc_name(sih->rr_protocol_discriminator));
 
 	switch (sih->system_information) {
 	case GSM48_MT_RR_PAG_REQ_1:

-- 
To view, visit https://gerrit.osmocom.org/11175
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmocom-bb
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: Ic88f5d4b263610a376bbb9729e882097393ef2be
Gerrit-Change-Number: 11175
Gerrit-PatchSet: 1
Gerrit-Owner: Vadim Yanitskiy <axilirator at gmail.com>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder (1000002)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20181003/d18f0fc7/attachment.htm>


More information about the gerrit-log mailing list