Index: firmware/lib/tpm_lite/tlcl.c |
diff --git a/firmware/lib/tpm_lite/tlcl.c b/firmware/lib/tpm_lite/tlcl.c |
index 23288ea8c1d288966be328520190ae152ac8b65c..af9395dadd775e1d2607d68b4289efca92a2a9a8 100644 |
--- a/firmware/lib/tpm_lite/tlcl.c |
+++ b/firmware/lib/tpm_lite/tlcl.c |
@@ -290,7 +290,7 @@ uint32_t TlclGetPermissions(uint32_t index, uint32_t* permissions) { |
Memcpy(&cmd, &tpm_getpermissions_cmd, sizeof(cmd)); |
ToTpmUint32(cmd.buffer + tpm_getpermissions_cmd.index, index); |
- TlclSendReceive(tpm_getpermissions_cmd.buffer, response, sizeof(response)); |
+ TlclSendReceive(cmd.buffer, response, sizeof(response)); |
result = TpmReturnCode(response); |
if (result != TPM_SUCCESS) { |
return result; |