Commit 042a8b62 authored by Samuel Tsai's avatar Samuel Tsai Committed by github-actions[bot]
Browse files

Bluetooth: host: adv: revert 39cb5744 to fix spurious error log



Commit 39cb5744 changed the log level from LOG_DBG to LOG_ERR in
bt_le_adv_resume(). This causes the error log
"No valid legacy adv to resume" to appear during normal connection
establishment when using bt_le_ext_adv_start(), even though the
system is functioning correctly.

Revert the change to restore the original LOG_DBG level.

Fixes: #94954

Signed-off-by: default avatarSamuel Tsai <stsai@atmosic.com>
(cherry picked from commit 07dc0ad4)
parent 4217df50
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1529,7 +1529,7 @@ void bt_le_adv_resume(void)
	int err;

	if (!adv) {
		LOG_ERR("No valid legacy adv to resume");
		LOG_DBG("No valid legacy adv to resume");
		return;
	}