diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2018-03-21 16:03:21 +0100 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2018-04-04 17:14:26 +0000 |
commit | 00bfb39d6c0f561a53aa7642e5f005c061c668ad (patch) | |
tree | 72d5285c69e607d1dddc6dacf499a6bc09a020ea /src/host/trxcon/l1ctl.c | |
parent | 55afe0072b435a0d9abc2db934ec9f17d4fb07dd (diff) |
trxcon/l1ctl.c: hexdump content of unhandled messages
Change-Id: Iec8fc6d49d1e35fe101960dd969de559e37a6a75
Diffstat (limited to 'src/host/trxcon/l1ctl.c')
-rw-r--r-- | src/host/trxcon/l1ctl.c | 3 |
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; } |