LAPD: log unknown format value

Change-Id: I9efd433ed128ae1d9df45591b1a93e10f8a3372c
This commit is contained in:
Max 2022-10-09 17:41:46 +03:00
parent 3ebeef4337
commit ce37bf545e
1 changed files with 1 additions and 1 deletions

View File

@ -1709,7 +1709,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;
} }