aboutsummaryrefslogtreecommitdiffstats
path: root/src/gprs_rlcmac.cpp
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-10-16 16:37:22 +0200
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-10-16 16:37:22 +0200
commit70862c94098d5f53ceb5dff224c1e063a07291fa (patch)
tree93675a5ebcb2501a58a1687a2ef81aeb00f161cb /src/gprs_rlcmac.cpp
parent26da8361e906ac1bc62085f03022ccdafea8adb1 (diff)
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.
Diffstat (limited to 'src/gprs_rlcmac.cpp')
-rw-r--r--src/gprs_rlcmac.cpp2
1 files changed, 1 insertions, 1 deletions
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;
}