From 53c544c39311b768c4857638d24a001f2987f577 Mon Sep 17 00:00:00 2001 From: Kelly J Couch Date: Mon, 11 Feb 2019 18:36:30 +0100 Subject: [PATCH] Get Command Access Policy was using wrong FW command sub opcode. Fixes #73. Signed-off-by: Kelly J Couch --- DcpmPkg/driver/Core/Dimm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DcpmPkg/driver/Core/Dimm.c b/DcpmPkg/driver/Core/Dimm.c index 462a7450..99055108 100644 --- a/DcpmPkg/driver/Core/Dimm.c +++ b/DcpmPkg/driver/Core/Dimm.c @@ -6405,7 +6405,7 @@ FwCmdGetCommandAccessPolicy( pFwCmd->DimmID = pDimm->DimmID; pFwCmd->Opcode = PtGetAdminFeatures; - pFwCmd->SubOpcode = SubopDimmPartitionInfo; + pFwCmd->SubOpcode = SubopCommandAccessPolicy; pFwCmd->OutputPayloadSize = sizeof(PT_OUTPUT_PAYLOAD_GET_COMMAND_ACCESS_POLICY); pInputCAP = (PT_INPUT_PAYLOAD_GET_COMMAND_ACCESS_POLICY*) pFwCmd->InputPayload;