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

Commit 709e88c0 authored by Hansong Zhang's avatar Hansong Zhang
Browse files

DO NOT MERGE Initialize local variable in gatts_process_read_by_type_req

Bug: 73125709
Test: manual
Change-Id: I8b3346f605e0820385ea5ed7401bbee664fd15aa
parent 497d5353
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -788,7 +788,8 @@ static void gatts_process_mtu_req(tGATT_TCB& tcb, uint16_t len,
void gatts_process_read_by_type_req(tGATT_TCB& tcb, uint8_t op_code,
                                    uint16_t len, uint8_t* p_data) {
  tBT_UUID uuid;
  uint16_t s_hdl, e_hdl, err_hdl = 0;
  uint16_t s_hdl = 0, e_hdl = 0, err_hdl = 0;
  if (len < 4) android_errorWriteLog(0x534e4554, "73125709");
  tGATT_STATUS reason =
      gatts_validate_packet_format(op_code, len, p_data, &uuid, s_hdl, e_hdl);