net: buf: increase log level of timeout ignore
Notifying users that the supplied timeout is being ignored is worthy of a higher log level than debug. Any such usage should be changed at the application level. Signed-off-by: Jordan Yates <jordan@embeint.com>
This commit is contained in:
parent
74972e694b
commit
88ee2bee39
@ -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_DBG("Timeout discarded. No blocking in syswq");
|
||||
LOG_WRN("Timeout discarded. No blocking in syswq");
|
||||
timeout = K_NO_WAIT;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user