From 70862c94098d5f53ceb5dff224c1e063a07291fa Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Wed, 16 Oct 2013 16:37:22 +0200 Subject: [PATCH] misc: Print the payload that is not known Print the payload type that is not handled as this allows one to look it up in the specification. --- src/gprs_rlcmac.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gprs_rlcmac.cpp b/src/gprs_rlcmac.cpp index 4f39beeb..c6a91d88 100644 --- a/src/gprs_rlcmac.cpp +++ b/src/gprs_rlcmac.cpp @@ -1174,7 +1174,7 @@ int gprs_rlcmac_rcv_block(uint8_t trx, uint8_t ts, uint8_t *data, uint8_t len, LOGP(DRLCMAC, LOGL_NOTICE, "GPRS_RLCMAC_CONTROL_BLOCK_OPT block payload is not supported.\n"); break; default: - LOGP(DRLCMAC, LOGL_NOTICE, "Unknown RLCMAC block payload.\n"); + LOGP(DRLCMAC, LOGL_NOTICE, "Unknown RLCMAC block payload(%u).\n", payload); rc = -EINVAL; }