tpm_ibmvtpm: properly handle interrupted packet receptions
[cascardo/linux.git] / drivers / char / tpm / tpm_ibmvtpm.h
index 6af9289..91dfe76 100644 (file)
@@ -45,6 +45,7 @@ struct ibmvtpm_dev {
        wait_queue_head_t wq;
        u16 res_len;
        u32 vtpm_version;
+       bool tpm_processing_cmd;
 };
 
 #define CRQ_RES_BUF_SIZE       PAGE_SIZE