mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-01 19:54:32 +02:00
Merge branch 'bugfix/btdm_fail_to_find_handle_#15534' into 'master'
component/bt: Fix the bug of total attr didn't reset when init the gattc cache. See merge request !1331
This commit is contained in:
@@ -187,6 +187,7 @@ tBTA_GATT_STATUS bta_gattc_init_cache(tBTA_GATTC_SERV *p_srvc_cb)
|
|||||||
p_srvc_cb->cur_srvc_idx = 0;
|
p_srvc_cb->cur_srvc_idx = 0;
|
||||||
p_srvc_cb->cur_char_idx = 0;
|
p_srvc_cb->cur_char_idx = 0;
|
||||||
p_srvc_cb->next_avail_idx = 0;
|
p_srvc_cb->next_avail_idx = 0;
|
||||||
|
p_srvc_cb->total_attr = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
return BTA_GATT_OK;
|
return BTA_GATT_OK;
|
||||||
|
Reference in New Issue
Block a user