pdch: Log hexdump of decde failure for dl rlcmac block

Change-Id: I591212a43bf92984348d1992df8c9b4fdddeba3b
This commit is contained in:
Pau Espin 2020-11-23 16:36:42 +01:00
parent 7d3ee9ed8d
commit 9c4f9ffec1
1 changed files with 2 additions and 1 deletions

View File

@ -251,7 +251,8 @@ continue_next:
LOGP(DRLCMAC, LOGL_DEBUG, "+++++++++++++++++++++++++ TX : Packet Paging Request +++++++++++++++++++++++++\n");
rc = decode_gsm_rlcmac_downlink(pag_vec, mac_control_block);
if (rc < 0) {
LOGP(DRLCMAC, LOGL_ERROR, "Decoding of Downlink Packet Paging Request failed (%d)\n", rc);
LOGP(DRLCMAC, LOGL_ERROR, "Decoding of Downlink Packet Paging Request failed (%d): %s\n",
rc, osmo_hexdump(msgb_data(msg), msgb_length(msg)));
goto free_ret;
}
LOGP(DRLCMAC, LOGL_DEBUG, "------------------------- TX : Packet Paging Request -------------------------\n");