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

Commit 831650cb authored by Sanket Agarwal's avatar Sanket Agarwal Committed by android-build-merger
Browse files

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

am: 082a7f7c

Change-Id: Id529230bcbaa5c6d730fd080da1b9373bd10397b
parents 1c3b7df0 082a7f7c
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],