summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2018-03-21 16:03:21 +0100
committerPau Espin Pedrol <pespin@sysmocom.de>2018-04-04 17:14:26 +0000
commit00bfb39d6c0f561a53aa7642e5f005c061c668ad (patch)
tree72d5285c69e607d1dddc6dacf499a6bc09a020ea
parent55afe0072b435a0d9abc2db934ec9f17d4fb07dd (diff)
trxcon/l1ctl.c: hexdump content of unhandled messages
-rw-r--r--src/host/trxcon/l1ctl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/host/trxcon/l1ctl.c b/src/host/trxcon/l1ctl.c
index a08c4605..74400be8 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;
}