From 00ae58b047ded7a434a4e57571ae5f8d5a57c135 Mon Sep 17 00:00:00 2001 From: Jin Chen Date: Wed, 3 Jun 2026 17:54:07 +0800 Subject: [PATCH] fix(ble): fix conn recycle assertion at halt on ESP32-C2 (cherry picked from commit 5483aeedb64d0d6fb44e4a0def5aa28a51382b85) Co-authored-by: cjin --- components/bt/controller/esp32c2/dummy.c | 2 ++ components/bt/controller/lib_esp32c2/esp32c2-bt-lib | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/components/bt/controller/esp32c2/dummy.c b/components/bt/controller/esp32c2/dummy.c index 819a3ed1b2f..1f542caf397 100644 --- a/components/bt/controller/esp32c2/dummy.c +++ b/components/bt/controller/esp32c2/dummy.c @@ -456,6 +456,8 @@ void r_ble_lll_conn_event_delete_and_reschedule(void){} void r_ble_lll_conn_event_delete_and_reschedule_eco4(void){} void r_ble_ll_utils_verify_aa(void){} void r_ble_ll_utils_verify_aa_eco4(void){} +int r_ble_lll_conn_process_rx_data_after_halt(void){return 0;} +int r_ble_lll_conn_process_rx_data_after_halt_eco4(void){return 0;} #endif // !DEFAULT_BT_LE_ROLE_PERIPHERAL #if !DEFAULT_BT_LE_ROLE_CENTROL && !DEFAULT_BT_LE_ROLE_PERIPHERAL diff --git a/components/bt/controller/lib_esp32c2/esp32c2-bt-lib b/components/bt/controller/lib_esp32c2/esp32c2-bt-lib index a1e63f9079c..e914fe6c154 160000 --- a/components/bt/controller/lib_esp32c2/esp32c2-bt-lib +++ b/components/bt/controller/lib_esp32c2/esp32c2-bt-lib @@ -1 +1 @@ -Subproject commit a1e63f9079c48dbb01033f7930ba09f9336ea6ca +Subproject commit e914fe6c15439deb66067d41b38467cd812c4549