trxcon: l1ctl_rx_cb: hexdump content of unknown msg type

Change-Id: Iec8fc6d49d1e35fe101960dd969de559e37a6a75
This commit is contained in:
Pau Espin 2018-03-21 16:03:21 +01:00
parent 4ff26c115e
commit b28b3c7fdb
1 changed files with 2 additions and 1 deletions

View File

@ -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;
}