]> git.proxmox.com Git - mirror_edk2.git/commit
MdeModulePkg ScsiDiskDxe: Close event when SCSI command fails
authorHao Wu <hao.a.wu@intel.com>
Tue, 22 Dec 2015 13:56:30 +0000 (13:56 +0000)
committerhwu1225 <hwu1225@Edk2>
Tue, 22 Dec 2015 13:56:30 +0000 (13:56 +0000)
commit1f09197d196b2a1befaa587e0504d0f2f408f594
treefad05ab9af2ba5d0c3db9bbbea0275a4f35446fa
parentfbbb3ff3e03ba6ea31f14e7061e1db00cb73ed67
MdeModulePkg ScsiDiskDxe: Close event when SCSI command fails

The functions ScsiRead10CommandEx(), ScsiWrite10CommandEx(),
ScsiRead16CommandEx() and ScsiWrite16CommandEx() in UefiScsiLib will not
signal the event passed from ScsiDiskDxe when error occurs.

In this case, ScsiDiskDxe should close the event passing to these APIs in
UefiScsiLib.

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@19449 6f19259b-4bc3-4df7-8a09-765794883524
MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDisk.c