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

Vadim Yanitskiy gerrit-no-reply at lists.osmocom.org
Mon Oct 1 18:22:28 UTC 2018


Vadim Yanitskiy has uploaded this change for review. ( 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(-)



  git pull ssh://gerrit.osmocom.org:29418/osmocom-bb refs/changes/75/11175/1

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: newchange
Gerrit-Change-Id: Ic88f5d4b263610a376bbb9729e882097393ef2be
Gerrit-Change-Number: 11175
Gerrit-PatchSet: 1
Gerrit-Owner: Vadim Yanitskiy <axilirator at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20181001/c5d77ed1/attachment.htm>


More information about the gerrit-log mailing list