Bluetooth: L2CAP_BR: Use LOG_WRN for not enough room in user_data
Using LOG_WRN could indicate that something about the user configuration needs to be changed. Signed-off-by: Make Shi <make.shi@nxp.com>
This commit is contained in:
parent
865152fbe2
commit
232ecfd880
1 changed files with 1 additions and 1 deletions
|
@ -313,7 +313,7 @@ int bt_l2cap_br_send_cb(struct bt_conn *conn, uint16_t cid, struct net_buf *buf,
|
||||||
hdr->cid = sys_cpu_to_le16(cid);
|
hdr->cid = sys_cpu_to_le16(cid);
|
||||||
|
|
||||||
if (buf->user_data_size < sizeof(struct closure)) {
|
if (buf->user_data_size < sizeof(struct closure)) {
|
||||||
LOG_DBG("not enough room in user_data %d < %d pool %u",
|
LOG_WRN("not enough room in user_data %d < %d pool %u",
|
||||||
buf->user_data_size,
|
buf->user_data_size,
|
||||||
CONFIG_BT_CONN_TX_USER_DATA_SIZE,
|
CONFIG_BT_CONN_TX_USER_DATA_SIZE,
|
||||||
buf->pool_id);
|
buf->pool_id);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue