]> git.proxmox.com Git - mirror_edk2.git/commitdiff
MdeModulePkg: Fix the wrong Timer event check
authorJiaxin Wu <jiaxin.wu@intel.com>
Fri, 28 Oct 2016 06:31:30 +0000 (14:31 +0800)
committerJiaxin Wu <jiaxin.wu@intel.com>
Mon, 31 Oct 2016 00:45:08 +0000 (08:45 +0800)
Cc: Ye Ting <ting.ye@intel.com>
Cc: Fu Siyuan <siyuan.fu@intel.com>
Cc: Zhang Lubo <lubo.zhang@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jiaxin Wu <jiaxin.wu@intel.com>
Reviewed-by: Ye Ting <ting.ye@intel.com>
Reviewed-by: Fu Siyuan <siyuan.fu@intel.com>
MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Impl.c

index 6223895620d87b32987a2058b2d369e530817f6b..a2583a490cc270e092b8b87fc97e48d1a74b7dcb 100644 (file)
@@ -258,7 +258,7 @@ Mtftp4GetMapping (
     return FALSE;\r
   }\r
 \r
-  while (!EFI_ERROR (gBS->CheckEvent (Service->TimerToGetMap))) {\r
+  while (EFI_ERROR (gBS->CheckEvent (Service->TimerToGetMap))) {\r
     Udp->Poll (Udp);\r
 \r
     if (!EFI_ERROR (Udp->GetModeData (Udp, NULL, &Ip4Mode, NULL, NULL)) &&\r