Skip to content

Commit

Permalink
Bluetooth: L2CAP_BR: Use LOG_WRN for not enough room in user_data
Browse files Browse the repository at this point in the history
Using LOG_WRN could indicate that something about the user
configuration needs to be changed.

Signed-off-by: Make Shi <[email protected]>
  • Loading branch information
makeshi authored and kartben committed Dec 16, 2024
1 parent 865152f commit 232ecfd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion subsys/bluetooth/host/classic/l2cap_br.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 232ecfd

Please sign in to comment.