]> git.proxmox.com Git - mirror_edk2.git/commitdiff
NetworkPkg: Fix incorrect parameter check in PXE.Mtftp() function.
authorFu Siyuan <siyuan.fu@intel.com>
Tue, 9 Jan 2018 07:08:57 +0000 (15:08 +0800)
committerFu Siyuan <siyuan.fu@intel.com>
Mon, 15 Jan 2018 10:02:01 +0000 (18:02 +0800)
According to UEFI spec, the PXE.Mtftp() should return invalid parameter if the
BufferPtr parameter was NULL and the DontUseBuffer parameter was FALSE.
The DontUseBuffer is only used when perform MTFTP/TFTP read operation.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Fu Siyuan <siyuan.fu@intel.com>
Reviewed-by: Jiaxin Wu <jiaxin.wu@intel.com>

No differences found