From adeb499064995b64cbea6daf75286cd6e6d7257a Mon Sep 17 00:00:00 2001 From: Make Shi Date: Thu, 12 Dec 2024 10:10:54 +0800 Subject: [PATCH] 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 --- subsys/bluetooth/host/classic/l2cap_br.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subsys/bluetooth/host/classic/l2cap_br.c b/subsys/bluetooth/host/classic/l2cap_br.c index 0ebfdce8560b0b..405a971cfef5b3 100644 --- a/subsys/bluetooth/host/classic/l2cap_br.c +++ b/subsys/bluetooth/host/classic/l2cap_br.c @@ -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); 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, CONFIG_BT_CONN_TX_USER_DATA_SIZE, buf->pool_id);