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

Commit 2ca79cb4 authored by Chao Quan's avatar Chao Quan Committed by android-build-merger
Browse files

Fix GATT discovery service fail over BR/EDR am: 401724bf am: 20efcf3f

am: 35adcb0e

Change-Id: I93e6be464bf38889e1e26e0d0c9c23f0a50f5efb
parents 57baa8b3 35adcb0e
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -714,7 +714,8 @@ void bta_gattc_disc_cmpl(tBTA_GATTC_CLCB* p_clcb,
  else if (p_q_cmd != NULL) {
    p_clcb->p_q_cmd = NULL;
    /* execute pending operation of link block still present */
    if (l2cu_find_lcb_by_bd_addr(p_clcb->p_srcb->server_bda, BT_TRANSPORT_LE)) {
    if (l2cu_find_lcb_by_bd_addr(p_clcb->p_srcb->server_bda,
                                 p_clcb->transport)) {
      bta_gattc_sm_execute(p_clcb, p_q_cmd->hdr.event, p_q_cmd);
    }
    /* if the command executed requeued the cmd, we don't