Fix a bug of ScsiWrite10Command() UefiScsiLib. After the SCSI WRITE command is execut...
authorxli24 <xli24@de2fecce-e211-0410-80a6-f3fac2684e05>
Fri, 28 Sep 2007 05:59:12 +0000 (05:59 +0000)
committerxli24 <xli24@de2fecce-e211-0410-80a6-f3fac2684e05>
Fri, 28 Sep 2007 05:59:12 +0000 (05:59 +0000)
git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@3961 de2fecce-e211-0410-80a6-f3fac2684e05

edk2/MdePkg/Library/UefiScsiLib/UefiScsiLib.c

index 6bfc8cf..83b4099 100644 (file)
@@ -627,7 +627,7 @@ ScsiWrite10Command (
   *HostAdapterStatus            = CommandPacket.HostAdapterStatus;\r
   *TargetStatus                 = CommandPacket.TargetStatus;\r
   *SenseDataLength              = CommandPacket.SenseDataLength;\r
-  *DataLength                   = CommandPacket.InTransferLength;\r
+  *DataLength                   = CommandPacket.OutTransferLength;\r
 \r
   return Status;\r
 }\r