From 21b934aeb21f4a5d40cf3ee7f03c4d489176b7ef Mon Sep 17 00:00:00 2001 From: luoxu Date: Tue, 24 Jun 2025 11:50:37 +0800 Subject: [PATCH] feat(ble_mesh): fixed issues with adv evts process --- components/bt/esp_ble_mesh/core/ext_adv.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/components/bt/esp_ble_mesh/core/ext_adv.c b/components/bt/esp_ble_mesh/core/ext_adv.c index b8b4d2311f..32157ea3d3 100644 --- a/components/bt/esp_ble_mesh/core/ext_adv.c +++ b/components/bt/esp_ble_mesh/core/ext_adv.c @@ -369,6 +369,10 @@ static void adv_thread(void *p) continue; } + if (recv_evts & ADV_TASK_PKT_SEND_EVT) { + recv_evts &= ~ADV_TASK_PKT_SEND_EVT; + } + recv_evts = received_adv_evts_handle(recv_evts); if (recv_evts) {