Skip to content

Commit

Permalink
Get Command Access Policy was using wrong FW command sub opcode. Fixes
Browse files Browse the repository at this point in the history
…#73.

Signed-off-by: Kelly J Couch <[email protected]>
  • Loading branch information
kellycouch authored and gldiviney committed Feb 25, 2019
1 parent d383efd commit 53c544c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DcpmPkg/driver/Core/Dimm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 53c544c

Please sign in to comment.