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

Commit 958b7e2f 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

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

Change-Id: Iafac236999f4577c9237baa05698cdb9a1d87a6d
parents cc417dfd 9b7bbb49
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;
  }