Skip to content

Commit 257c5e6

Browse files
JordanYatesnashif
authored andcommitted
bluetooth: conn: 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 <[email protected]>
1 parent 88ee2be commit 257c5e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

subsys/bluetooth/host/conn.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1581,7 +1581,7 @@ struct net_buf *bt_conn_create_pdu_timeout(struct net_buf_pool *pool,
15811581

15821582
if (!K_TIMEOUT_EQ(timeout, K_NO_WAIT) &&
15831583
k_current_get() == k_work_queue_thread_get(&k_sys_work_q)) {
1584-
LOG_DBG("Timeout discarded. No blocking in syswq.");
1584+
LOG_WRN("Timeout discarded. No blocking in syswq.");
15851585
timeout = K_NO_WAIT;
15861586
}
15871587

0 commit comments

Comments
 (0)