From 8d846e41cf37dae5c84e425f602e253c6bf3d599 Mon Sep 17 00:00:00 2001 From: Jui-Chou Chung Date: Tue, 27 Feb 2024 00:24:52 +0800 Subject: [PATCH] applications: nrf5340_audio: change SMP log level Update the SMP log level, since SMP failed could happen during power on/off testing, which should not block us from continuing the test. OCT-NONE Signed-off-by: Jui-Chou Chung --- .../nrf5340_audio/src/bluetooth/bt_management/bt_mgmt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/applications/nrf5340_audio/src/bluetooth/bt_management/bt_mgmt.c b/applications/nrf5340_audio/src/bluetooth/bt_management/bt_mgmt.c index a5017fedc864..0c97e88ff5cc 100644 --- a/applications/nrf5340_audio/src/bluetooth/bt_management/bt_mgmt.c +++ b/applications/nrf5340_audio/src/bluetooth/bt_management/bt_mgmt.c @@ -212,10 +212,10 @@ static void security_changed_cb(struct bt_conn *conn, bt_security_t level, enum struct bt_mgmt_msg msg; if (err) { - LOG_ERR("Security failed: level %d err %d", level, err); + LOG_WRN("Security failed: level %d err %d", level, err); ret = bt_conn_disconnect(conn, err); if (ret) { - LOG_ERR("Failed to disconnect %d", ret); + LOG_WRN("Failed to disconnect %d", ret); } } else { LOG_DBG("Security changed: level %d", level);