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

Commit c911a48d authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "gatt: Fix CID check when receiving ack" am: a07364fe am: 9b7bbb49 am: 958b7e2f

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

Change-Id: Ibef4aa50605acfb49c9809f6bf5beed32341922d
parents bed4f7e9 958b7e2f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1181,7 +1181,7 @@ static bool gatts_proc_ind_ack(tGATT_TCB& tcb, uint16_t ack_handle) {
void gatts_process_value_conf(tGATT_TCB& tcb, uint16_t cid, uint8_t op_code) {
  uint16_t handle;

  if (gatt_tcb_find_indicate_handle(tcb, cid, &handle)) {
  if (!gatt_tcb_find_indicate_handle(tcb, cid, &handle)) {
    LOG(ERROR) << "unexpected handle value confirmation";
    return;
  }