Status = EFI_SUCCESS;\r
} else {\r
Status = EFI_DEVICE_ERROR;\r
- //\r
- // Copy the Respose Queue entry for this command to the callers response buffer\r
- //\r
- CopyMem(Packet->NvmeCompletion, Cq, sizeof(EFI_NVM_EXPRESS_COMPLETION));\r
-\r
//\r
// Dump every completion entry status for debugging.\r
//\r
NvmeDumpStatus(Cq);\r
DEBUG_CODE_END();\r
}\r
+ //\r
+ // Copy the Respose Queue entry for this command to the callers response buffer\r
+ //\r
+ CopyMem(Packet->NvmeCompletion, Cq, sizeof(EFI_NVM_EXPRESS_COMPLETION));\r
} else {\r
//\r
// Timeout occurs for an NVMe command. Reset the controller to abort the\r