]> git.proxmox.com Git - mirror_edk2.git/commit - MdePkg/Library/UefiScsiLib/UefiScsiLib.c
MdePkg UefiScsiLib: Close event when SCSI command fails
authorHao Wu <hao.a.wu@intel.com>
Tue, 22 Dec 2015 13:55:59 +0000 (13:55 +0000)
committerhwu1225 <hwu1225@Edk2>
Tue, 22 Dec 2015 13:55:59 +0000 (13:55 +0000)
commitfbbb3ff3e03ba6ea31f14e7061e1db00cb73ed67
tree645d6af906ec815ed7ca3c13c42ad1511eb36e82
parent9f840a9ea33cd2ce533a3fa923ab5be73c40bed7
MdePkg UefiScsiLib: Close event when SCSI command fails

The ScsiExecuteSCSICommand() function in ScsiBusDxe driver will not signal
the event passed from UefiScsiLib when error occurs.

In this case, UefiScsiLib should close the event passing to
ScsiExecuteSCSICommand().

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Hao Wu <hao.a.wu@intel.com>
Reviewed-by: Feng Tian <feng.tian@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19448 6f19259b-4bc3-4df7-8a09-765794883524
MdePkg/Library/UefiScsiLib/UefiScsiLib.c