aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/tpm/tpm_tis_core.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/tpm/tpm_tis_core.c')
-rw-r--r--sys/dev/tpm/tpm_tis_core.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/tpm/tpm_tis_core.c b/sys/dev/tpm/tpm_tis_core.c
index 230eb12d2acd..d8421f8156c9 100644
--- a/sys/dev/tpm/tpm_tis_core.c
+++ b/sys/dev/tpm/tpm_tis_core.c
@@ -469,6 +469,7 @@ tpmtis_transmit(device_t dev, size_t length)
}
tpmtis_relinquish_locality(sc);
sc->pending_data_length = bytes_available;
+ sc->total_length = bytes_available;
return (0);
}