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

This commit is contained in:
zhiweijian 2017-06-14 16:45:17 +08:00
parent 96f8e0d996
commit 60d5b677e7

View File

@ -1013,6 +1013,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 */