Skip to content

Commit

Permalink
applications: nrf5340_audio: change SMP log level
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
rick1082 authored and carlescufi committed Feb 26, 2024
1 parent ffd08bb commit 8d846e4
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 8d846e4

Please sign in to comment.