Skip to content

Commit 232ecfd

Browse files
makeshikartben
authored andcommitted
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 <[email protected]>
1 parent 865152f commit 232ecfd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

subsys/bluetooth/host/classic/l2cap_br.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ int bt_l2cap_br_send_cb(struct bt_conn *conn, uint16_t cid, struct net_buf *buf,
313313
hdr->cid = sys_cpu_to_le16(cid);
314314

315315
if (buf->user_data_size < sizeof(struct closure)) {
316-
LOG_DBG("not enough room in user_data %d < %d pool %u",
316+
LOG_WRN("not enough room in user_data %d < %d pool %u",
317317
buf->user_data_size,
318318
CONFIG_BT_CONN_TX_USER_DATA_SIZE,
319319
buf->pool_id);

0 commit comments

Comments
 (0)