Merge branch 'bugfix/btdm_gattc_refresh_cache_does_not_work_properly' into 'master'

component /bt: using esp_ble_gattc_cache_refresh() does not work when open event callback

See merge request !864
This commit is contained in:
Jiang Jiang Jian 2017-06-15 11:02:35 +08:00
commit a18032fe80

View file

@ -1017,6 +1017,7 @@ void bta_gattc_disc_cmpl(tBTA_GATTC_CLCB *p_clcb, tBTA_GATTC_DATA *p_data)
if (p_clcb->auto_update == BTA_GATTC_DISC_WAITING) {
/* start discovery again */
p_clcb->auto_update = BTA_GATTC_REQ_WAITING;
bta_gattc_sm_execute(p_clcb, BTA_GATTC_INT_DISCOVER_EVT, NULL);
}
/* get any queued command to proceed */