decoding.cpp: Improve logging in malformed UL data parsing
Change-Id: Ic4ad14b88fddde8d9e62e0a2587b501d36821f01
diff --git a/src/decoding.cpp b/src/decoding.cpp
index 064c974..0437994 100644
--- a/src/decoding.cpp
+++ b/src/decoding.cpp
@@ -282,8 +282,8 @@
offs += chunks[i].length;
if (offs > data_len) {
LOGP(DRLCMACUL, LOGL_NOTICE, "UL DATA out of block "
- "border, chunk idx: %d, size: %d\n",
- i, chunks[i].length);
+ "border, chunk idx: %d, offset: %u, size: %d, data_len: %u\n",
+ i, offs, chunks[i].length, data_len);
return -EINVAL;
}
}