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 <dougyoung@meta.com>
This commit is contained in:
parent
222a601b21
commit
39cb574438
@ -1529,7 +1529,7 @@ void bt_le_adv_resume(void)
|
||||
int err;
|
||||
|
||||
if (!adv) {
|
||||
LOG_DBG("No valid legacy adv");
|
||||
LOG_ERR("No valid legacy adv");
|
||||
return;
|
||||
}
|
||||
|
||||
@ -1544,7 +1544,7 @@ void bt_le_adv_resume(void)
|
||||
|
||||
err = le_adv_start_add_conn(adv, &conn);
|
||||
if (err) {
|
||||
LOG_DBG("Host cannot resume connectable advertising (%d)", err);
|
||||
LOG_ERR("Host cannot resume connectable advertising (%d)", err);
|
||||
return;
|
||||
}
|
||||
|
||||
@ -1568,7 +1568,7 @@ void bt_le_adv_resume(void)
|
||||
|
||||
err = bt_le_adv_set_enable(adv, true);
|
||||
if (err) {
|
||||
LOG_DBG("Controller cannot resume connectable advertising (%d)", err);
|
||||
LOG_ERR("Controller cannot resume connectable advertising (%d)", err);
|
||||
bt_conn_set_state(conn, BT_CONN_DISCONNECTED);
|
||||
|
||||
/* Temporarily clear persist flag to avoid recursion in
|
||||
|
||||
Loading…
Reference in New Issue
Block a user