Skip to content

Commit

Permalink
[nrf noup] lib: net_buf: buf: Revert alloc DBG to WRN change
Browse files Browse the repository at this point in the history
This warning is raised in many places when using bluetooth.
However, it is not very useful for the user to see.

This is a noup PR as there is currently more changes coming
in around this code and how to handle deadlocks in zephyr.

Signed-off-by: Sean Madigan <[email protected]>
  • Loading branch information
sean-madigan committed Feb 13, 2025
1 parent c8aea90 commit b523a2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/net_buf/buf.c
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ struct net_buf *net_buf_alloc_len(struct net_buf_pool *pool, size_t size,

if (!K_TIMEOUT_EQ(timeout, K_NO_WAIT) &&
k_current_get() == k_work_queue_thread_get(&k_sys_work_q)) {
LOG_WRN("Timeout discarded. No blocking in syswq");
LOG_DBG("Timeout discarded. No blocking in syswq");
timeout = K_NO_WAIT;
}

Expand Down

0 comments on commit b523a2b

Please sign in to comment.