Skip to content

Commit

Permalink
fix(bt/bluedroid): Fix ble app unregister no event
Browse files Browse the repository at this point in the history
  • Loading branch information
esp-zhp committed Dec 28, 2023
1 parent c1c6921 commit 8ddc31a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion components/bt/host/bluedroid/bta/gatt/bta_gattc_act.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 8ddc31a

Please sign in to comment.