diff options
author | Jiaxin Wu <jiaxin.wu@intel.com> | 2016-10-28 14:31:30 +0800 |
---|---|---|
committer | Jiaxin Wu <jiaxin.wu@intel.com> | 2016-10-31 08:45:08 +0800 |
commit | 4b7aee0a33097124ec0f833a78479004ceaabf03 (patch) | |
tree | 7d9c32106048fc73d40f01fa243b3e6cfe0aa24a /MdeModulePkg/Universal | |
parent | 5211ece936eedb0a29ea170b449e0af8edff8db2 (diff) | |
download | edk2-platforms-4b7aee0a33097124ec0f833a78479004ceaabf03.tar.xz |
MdeModulePkg: Fix the wrong Timer event check
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>
Diffstat (limited to 'MdeModulePkg/Universal')
-rw-r--r-- | MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Impl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Impl.c b/MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Impl.c index 6223895620..a2583a490c 100644 --- a/MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Impl.c +++ b/MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Impl.c @@ -258,7 +258,7 @@ Mtftp4GetMapping ( return FALSE;
}
- while (!EFI_ERROR (gBS->CheckEvent (Service->TimerToGetMap))) {
+ while (EFI_ERROR (gBS->CheckEvent (Service->TimerToGetMap))) {
Udp->Poll (Udp);
if (!EFI_ERROR (Udp->GetModeData (Udp, NULL, &Ip4Mode, NULL, NULL)) &&
|