OSDN Git Service
(root)
/
android-x86
/
system-bt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix bad GATT client state machine state after successfull cache load
[android-x86/system-bt.git]
/
bta
/
gatt
/
bta_gattc_act.c
diff --git
a/bta/gatt/bta_gattc_act.c
b/bta/gatt/bta_gattc_act.c
index
01b06b8
..
3390b94
100644
(file)
--- a/
bta/gatt/bta_gattc_act.c
+++ b/
bta/gatt/bta_gattc_act.c
@@
-715,6
+715,7
@@
void bta_gattc_conn(tBTA_GATTC_CLCB *p_clcb, tBTA_GATTC_DATA *p_data)
{
p_clcb->p_srcb->state = BTA_GATTC_SERV_LOAD;
if (bta_gattc_cache_load(p_clcb)) {
+ p_clcb->p_srcb->state = BTA_GATTC_SERV_IDLE;
bta_gattc_reset_discover_st(p_clcb->p_srcb, BTA_GATT_OK);
} else {
p_clcb->p_srcb->state = BTA_GATTC_SERV_DISC;