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

Commit a07364fe authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "gatt: Fix CID check when receiving ack"

parents d4be516f c3d9517b
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;
  }