diff options
Diffstat (limited to 'firmware/lib/tpm_lite/tlcl.c')
-rw-r--r-- | firmware/lib/tpm_lite/tlcl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/lib/tpm_lite/tlcl.c b/firmware/lib/tpm_lite/tlcl.c index 511a4fc6..9a0801f5 100644 --- a/firmware/lib/tpm_lite/tlcl.c +++ b/firmware/lib/tpm_lite/tlcl.c @@ -67,7 +67,7 @@ static uint32_t TlclSendReceiveNoRetry(const uint8_t* request, /* Communication with TPM failed, so response is garbage */ VBDEBUG(("TPM: command 0x%x send/receive failed: 0x%x\n", TpmCommandCode(request), result)); - return TPM_E_COMMUNICATION_ERROR; + return result; } /* Otherwise, use the result code from the response */ result = TpmReturnCode(response); |