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

Commit 7bf4ceb9 authored by Hansong Zhang's avatar Hansong Zhang Committed by Automerger Merge Worker
Browse files

p_clcb->reason is never set am: 0f6d792c

Original change: https://android-review.googlesource.com/c/platform/system/bt/+/1549427

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I7bdb275e2df90bc012d2b57f262a2d46c06fee6a
parents 1cc332d1 0f6d792c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -535,7 +535,7 @@ void bta_gattc_close(tBTA_GATTC_CLCB* p_clcb, tBTA_GATTC_DATA* p_data) {

  cb_data.close.client_if = p_clcb->p_rcb->client_if;
  cb_data.close.conn_id = p_clcb->bta_conn_id;
  cb_data.close.reason = p_clcb->reason;
  cb_data.close.reason = 0;
  cb_data.close.remote_bda = p_clcb->bda;
  cb_data.close.status = GATT_SUCCESS;

+0 −1
Original line number Diff line number Diff line
@@ -272,7 +272,6 @@ typedef struct {
  bool in_use;
  tBTA_GATTC_STATE state;
  tGATT_STATUS status;
  uint16_t reason;
} tBTA_GATTC_CLCB;

/* back ground connection tracking information */