aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/tpm/tpm_crb.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/tpm/tpm_crb.c')
-rw-r--r--sys/dev/tpm/tpm_crb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/tpm/tpm_crb.c b/sys/dev/tpm/tpm_crb.c
index b9ddcf0dd3e1..017ebd45c7ea 100644
--- a/sys/dev/tpm/tpm_crb.c
+++ b/sys/dev/tpm/tpm_crb.c
@@ -398,6 +398,7 @@ tpmcrb_transmit(device_t dev, size_t length)
tpmcrb_relinquish_locality(sc);
sc->pending_data_length = bytes_available;
+ sc->total_length = bytes_available;
return (0);
}