From b28b3c7fdbdf7f9c6d6ea9c897334c428fa5ae6e Mon Sep 17 00:00:00 2001 From: Pau Espin Pedrol Date: Wed, 21 Mar 2018 16:03:21 +0100 Subject: [PATCH] trxcon: l1ctl_rx_cb: hexdump content of unknown msg type Change-Id: Iec8fc6d49d1e35fe101960dd969de559e37a6a75 --- src/host/trxcon/l1ctl.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/host/trxcon/l1ctl.c b/src/host/trxcon/l1ctl.c index 3de0cf686..2aa73d4b9 100644 --- a/src/host/trxcon/l1ctl.c +++ b/src/host/trxcon/l1ctl.c @@ -794,7 +794,8 @@ int l1ctl_rx_cb(struct l1ctl_link *l1l, struct msgb *msg) case L1CTL_CRYPTO_REQ: return l1ctl_rx_crypto_req(l1l, msg); default: - LOGP(DL1C, LOGL_ERROR, "Unknown MSG: %u\n", l1h->msg_type); + LOGP(DL1C, LOGL_ERROR, "Unknown MSG type %u: %s\n", l1h->msg_type, + osmo_hexdump(msgb_data(msg), msgb_length(msg))); msgb_free(msg); return -EINVAL; }