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

Commit 082a7f7c 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

Change-Id: I4a196410b5517c2a4231deea4b12c79c6b1e3b3f
parents 4a7f4aca baa4ab89
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],