mirror of https://gerrit.osmocom.org/libosmocore
LAPD: log unknown format value
Change-Id: I9efd433ed128ae1d9df45591b1a93e10f8a3372c
This commit is contained in:
parent
7bd1670520
commit
6a883becf0
|
@ -1708,7 +1708,7 @@ int lapd_ph_data_ind(struct msgb *msg, struct lapd_msg_ctx *lctx)
|
||||||
rc = lapd_rx_i(msg, lctx);
|
rc = lapd_rx_i(msg, lctx);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
LOGDL(lctx->dl, LOGL_NOTICE, "unknown LAPD format\n");
|
LOGDL(lctx->dl, LOGL_NOTICE, "unknown LAPD format 0x%02x\n", lctx->format);
|
||||||
msgb_free(msg);
|
msgb_free(msg);
|
||||||
rc = -EINVAL;
|
rc = -EINVAL;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue