From 5541149bc75f61c3fb007fd6c9dd89b8c8b7ac88 Mon Sep 17 00:00:00 2001 From: Vadim Yanitskiy Date: Tue, 2 Oct 2018 01:22:20 +0700 Subject: layer23/app_ccch_scan.c: print pdisc in error message Change-Id: Ic88f5d4b263610a376bbb9729e882097393ef2be --- src/host/layer23/src/misc/app_ccch_scan.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/host/layer23/src/misc/app_ccch_scan.c b/src/host/layer23/src/misc/app_ccch_scan.c index 49adee99..57271749 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 gsm48_rx_ccch(struct msgb *msg, struct osmocom_ms *ms) 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: -- cgit v1.2.3