Merge branch 'bugfix/fix_ble_app_unregister_no_event_v5.2' into 'release/v5.2'

fix(bt/bluedroid): Fix ble app unregister no event(backport v5.2)

See merge request espressif/esp-idf!28167
This commit is contained in:
Jiang Jiang Jian 2023-12-29 11:08:20 +08:00
commit bd18b8ba6a

View File

@ -161,7 +161,6 @@ void bta_gattc_disable(tBTA_GATTC_CB *p_cb)
for (i = 0; i < BTA_GATTC_CL_MAX; i ++) {
if (p_cb->cl_rcb[i].in_use) {
p_cb->state = BTA_GATTC_STATE_DISABLING;
p_cb->cl_rcb[i].in_use = false;
/* don't deregister HH GATT IF */
/* HH GATT IF will be deregistered by bta_hh_le_deregister when disable HH */
#if (defined BTA_HH_LE_INCLUDED && BTA_HH_LE_INCLUDED == TRUE)