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

Commit 02f9b77b authored by Jakub Pawlowski's avatar Jakub Pawlowski
Browse files

Revert "GATT: Fix GATT error response for execute write"

This reverts commit 6c4e4e0e.

Reason for revert: This patch does not make Fluoride comply with BT Spec,
it just make a false assumption to pass a test case.

Change-Id: I023b7673c52522e7c1a318f5b9596ebb4fbc99ec
parent 10313d37
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -327,7 +327,7 @@ void gatt_process_exec_write_req(tGATT_TCB& tcb, uint8_t op_code,
  } else /* nothing needs to be executed , send response now */
  {
    LOG(ERROR) << "gatt_process_exec_write_req: no prepare write pending";
    gatt_send_error_rsp(tcb, GATT_INVALID_OFFSET, GATT_REQ_EXEC_WRITE, 0, false);
    gatt_send_error_rsp(tcb, GATT_ERROR, GATT_REQ_EXEC_WRITE, 0, false);
  }
}