summaryrefslogtreecommitdiff
path: root/SecurityPkg
diff options
context:
space:
mode:
Diffstat (limited to 'SecurityPkg')
-rw-r--r--SecurityPkg/Library/TcgStorageOpalLib/TcgStorageOpalCore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/SecurityPkg/Library/TcgStorageOpalLib/TcgStorageOpalCore.c b/SecurityPkg/Library/TcgStorageOpalLib/TcgStorageOpalCore.c
index 2db5ffeba9..f60a427012 100644
--- a/SecurityPkg/Library/TcgStorageOpalLib/TcgStorageOpalCore.c
+++ b/SecurityPkg/Library/TcgStorageOpalLib/TcgStorageOpalCore.c
@@ -258,7 +258,7 @@ OpalBlockSid(
Session->Sscp,
Session->MediaId,
TCG_OPAL_SECURITY_PROTOCOL_2,
- Session->OpalBaseComId,
+ TCG_BLOCKSID_COMID, // hardcode ComID 0x0005
1,
Buffer,
BUFFER_SIZE