mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Merge branch 'bugfix/fix_ble_app_unregister_no_event_4.3' into 'release/v4.3'
fix(bt/bluedroid): Fix ble app unregister no event(backport v4.3) See merge request espressif/esp-idf!28172
This commit is contained in:
commit
af235c4b3f
@ -160,7 +160,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)
|
||||
|
Loading…
Reference in New Issue
Block a user