mirror of https://github.com/acidanthera/audk.git
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:
parent
ff62de3730
commit
ba7e162ec1
|
@ -627,7 +627,7 @@ ScsiWrite10Command (
|
|||
*HostAdapterStatus = CommandPacket.HostAdapterStatus;
|
||||
*TargetStatus = CommandPacket.TargetStatus;
|
||||
*SenseDataLength = CommandPacket.SenseDataLength;
|
||||
*DataLength = CommandPacket.InTransferLength;
|
||||
*DataLength = CommandPacket.OutTransferLength;
|
||||
|
||||
return Status;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue