Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 111e0b0b authored by Jakub Pawlowski's avatar Jakub Pawlowski Committed by android-build-merger
Browse files

Fix bad GATT client state machine state after successfull cache load

am: d570275f

Change-Id: If89361b40bd9abf0150afa4ac2af1b02366eafc7
parents a8aff6dd d570275f
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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;