Skip to content

Commit 39cb574

Browse files
dwyoung43danieldegrasse
authored andcommitted
Bluetooth: host: adv: update log levels in bt_le_adv_resume()
Changed logs in adv.c that would result in advertising from resuming to err logs to aid in debugging. Signed-off-by: Doug Young <[email protected]>
1 parent 222a601 commit 39cb574

File tree

1 file changed

+3
-3
lines changed
  • subsys/bluetooth/host

1 file changed

+3
-3
lines changed

subsys/bluetooth/host/adv.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1529,7 +1529,7 @@ void bt_le_adv_resume(void)
15291529
int err;
15301530

15311531
if (!adv) {
1532-
LOG_DBG("No valid legacy adv");
1532+
LOG_ERR("No valid legacy adv");
15331533
return;
15341534
}
15351535

@@ -1544,7 +1544,7 @@ void bt_le_adv_resume(void)
15441544

15451545
err = le_adv_start_add_conn(adv, &conn);
15461546
if (err) {
1547-
LOG_DBG("Host cannot resume connectable advertising (%d)", err);
1547+
LOG_ERR("Host cannot resume connectable advertising (%d)", err);
15481548
return;
15491549
}
15501550

@@ -1568,7 +1568,7 @@ void bt_le_adv_resume(void)
15681568

15691569
err = bt_le_adv_set_enable(adv, true);
15701570
if (err) {
1571-
LOG_DBG("Controller cannot resume connectable advertising (%d)", err);
1571+
LOG_ERR("Controller cannot resume connectable advertising (%d)", err);
15721572
bt_conn_set_state(conn, BT_CONN_DISCONNECTED);
15731573

15741574
/* Temporarily clear persist flag to avoid recursion in

0 commit comments

Comments
 (0)