From b523a2b484ae3b7d140766734a44440c4d28e3cd Mon Sep 17 00:00:00 2001 From: Sean Madigan Date: Thu, 13 Feb 2025 11:46:34 +0000 Subject: [PATCH] [nrf noup] lib: net_buf: buf: Revert alloc DBG to WRN change 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 --- lib/net_buf/buf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/net_buf/buf.c b/lib/net_buf/buf.c index 6d409430f08..a2f504ac06b 100644 --- a/lib/net_buf/buf.c +++ b/lib/net_buf/buf.c @@ -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; }