]> git.proxmox.com Git - mirror_edk2.git/commit
MdeModulePkg/AtaAtapiPassThru: Move error check behind the place that SetupFIS frame...
authorerictian <erictian@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 22 Aug 2012 07:12:10 +0000 (07:12 +0000)
committererictian <erictian@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 22 Aug 2012 07:12:10 +0000 (07:12 +0000)
commit7fb60a98ca3a78cf318703b99e64add9f4262fa5
treee498f295528faa19c1f21f7a9428b613cbdb1fe7
parente407ceecc7ab0df3adc91ba258a5a6c8d9484f04
MdeModulePkg/AtaAtapiPassThru: Move error check behind the place that SetupFIS frame is received.

This way is used to avoid that the subsequent operations are treated as failure if the last operation is wrong.

Signed-off-by: Tian Feng <feng.tian@intel.com>
Reviewed-by: Sun Rui <rui.sun@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13663 6f19259b-4bc3-4df7-8a09-765794883524
MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AhciMode.c