SecurityPkg Tpm2DeviceLibDTpm: Update enum type name to match the one in lib
[mirror_edk2.git] / SecurityPkg / Library / Tpm2DeviceLibDTpm / Tpm2InstanceLibDTpm.c
index edcdb72..5f6e163 100644 (file)
@@ -125,7 +125,7 @@ Tpm2InstanceLibDTpmConstructor (
         PcdSet8S(PcdActiveTpmInterfaceType, PtpInterface);\r
       }\r
 \r
-      if (PcdGet8(PcdActiveTpmInterfaceType) == PtpInterfaceCrb && PcdGet8(PcdCRBIdleByPass) == 0xFF) {\r
+      if (PcdGet8(PcdActiveTpmInterfaceType) == Tpm2PtpInterfaceCrb && PcdGet8(PcdCRBIdleByPass) == 0xFF) {\r
         IdleByPass = Tpm2GetIdleByPass((VOID *) (UINTN) PcdGet64 (PcdTpmBaseAddress));\r
         PcdSet8S(PcdCRBIdleByPass, IdleByPass);\r
       }\r