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

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

Merge "HF CLIENT BTA: Reduce logging for non-allocated blocks"

parents 10008bcd 2134bb66
Loading
Loading
Loading
Loading
+7 −7
Original line number Diff line number Diff line
@@ -930,13 +930,13 @@ void bta_hf_client_dump_statistics(int fd) {
  // We dump statistics for all control blocks
  for (int i = 0; i < HF_CLIENT_MAX_DEVICES; i++) {
    tBTA_HF_CLIENT_CB* client_cb = &bta_hf_client_cb_arr.cb[i];
    dprintf(fd, "Contol block #%d\n", i + 1);

    if (!client_cb->is_allocated) {
      dprintf(fd, "NOT ALLOCATED\n");
      // Skip the blocks which are not allocated
      continue;
    }

    dprintf(fd, "  Control block #%d\n", i + 1);

    // Device name
    dprintf(fd, "    Peer Device: %02x:%02x:%02x:%02x:%02x:%02x\n",
            client_cb->peer_addr[0], client_cb->peer_addr[1],