commit | 5b8dfacf5b1dc5ab0ea8c8afcb02a3c0c842c967 | [log] [tgz] |
---|---|---|
author | David Drysdale <drysdale@google.com> | Thu May 19 05:50:51 2022 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Thu May 19 05:50:51 2022 +0000 |
tree | f6a236163fe5f212a7d91c03025881783f36a185 | |
parent | 91d24d5bad64421bb2430680a47b0225f286d114 [diff] | |
parent | 37a8ac1d459d1bbe0b6dc3fb5fa89c78b3e97c2d [diff] |
Merge "KeyMint HAL: pass auth token on updateAad"
diff --git a/storaged/storaged.cpp b/storaged/storaged.cpp index 8cc8b59..cefef6e 100644 --- a/storaged/storaged.cpp +++ b/storaged/storaged.cpp
@@ -333,7 +333,7 @@ first_write = false; } - if (benchmark_size) { + if (benchmark_size && benchmark_time_ns) { int perf = benchmark_size * 1000000LLU / benchmark_time_ns; storage_info->update_perf_history(perf, system_clock::now()); }