Fix a bug of ScsiWrite10Command() UefiScsiLib. After the SCSI WRITE command is executed, the output DataLength parameter should be EFI_SCSI_IO_SCSI_REQUEST_PACKET.OutTransferLength, instead of EFI_SCSI_IO_SCSI_REQUEST_PACKET.InTransferLength.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3961 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
xli24 2007-09-28 05:59:12 +00:00
parent ff62de3730
commit ba7e162ec1
1 changed files with 1 additions and 1 deletions

View File

@ -627,7 +627,7 @@ ScsiWrite10Command (
*HostAdapterStatus = CommandPacket.HostAdapterStatus;
*TargetStatus = CommandPacket.TargetStatus;
*SenseDataLength = CommandPacket.SenseDataLength;
*DataLength = CommandPacket.InTransferLength;
*DataLength = CommandPacket.OutTransferLength;
return Status;
}