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

Commit 695d7e20 authored by Joe Onorato's avatar Joe Onorato
Browse files

Turn down excess logging in bt hci

Bug: 27744135
Change-Id: I30c975ceac7b4f7d74ab77e2279b080b049ece1b
parent a4069fdd
Loading
Loading
Loading
Loading
+5 −4
Original line number Diff line number Diff line
@@ -671,12 +671,13 @@ static bool filter_incoming_event(BT_HDR *packet) {
    STREAM_TO_UINT16(opcode, stream);

    wait_entry = get_waiting_command(opcode);
    if (!wait_entry)
      LOG_WARN(LOG_TAG, "%s command complete event with no matching command. opcode: 0x%x.", __func__, opcode);
    else if (wait_entry->complete_callback)
    if (!wait_entry) {
      //LOG_WARN(LOG_TAG, "%s command complete event with no matching command. opcode: 0x%x.", __func__, opcode);
    } else if (wait_entry->complete_callback) {
      wait_entry->complete_callback(packet, wait_entry->context);
    else if (wait_entry->complete_future)
    } else if (wait_entry->complete_future) {
      future_ready(wait_entry->complete_future, packet);
    }

    goto intercepted;
  } else if (event_code == HCI_COMMAND_STATUS_EVT) {