]> git.proxmox.com Git - mirror_edk2.git/commit - MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Impl.c
MdeModulePkg: Fixed two issues when error occurs in Mtftp4Start.
authorWang Fan <fan.wang@intel.com>
Mon, 8 Jan 2018 05:14:43 +0000 (13:14 +0800)
committerJiaxin Wu <jiaxin.wu@intel.com>
Wed, 10 Jan 2018 00:30:18 +0000 (08:30 +0800)
commit39b0867d836292be0ffaffd2cc1edb7049c9fddd
treee93b80900ee802af9f85c40cf521e95e6b8db3c0
parent523152618d20a58c9ad55203fa6e5b8bebe938f0
MdeModulePkg: Fixed two issues when error occurs in Mtftp4Start.

* This function sets returned status as token status and signal token
  when error occurs, and it results token status not compliance with
  spec definition. This patch fixed this issue.
* This function restore Tpl twice when Mtftp4WrqStart() returns an
  error, this patch fixed this issue.

Cc: Jiaxin Wu <jiaxin.wu@intel.com>
Cc: Ye Ting <ting.ye@intel.com>
Cc: Fu Siyuan <siyuan.fu@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Wang Fan <fan.wang@intel.com>
Reviewed-by: Fu Siyuan <siyuan.fu@intel.com>
Reviewed-by: Jiaxin Wu <jiaxin.wu@intel.com>
MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Impl.c