mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-30 00:54:06 +02:00
NetworkPkg: 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>
This commit is contained in:
parent
4b7aee0a33
commit
d115b80b7d
@ -565,7 +565,7 @@ Dns4GetMapping (
|
|||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
while (!EFI_ERROR (gBS->CheckEvent (Service->TimerToGetMap))) {
|
while (EFI_ERROR (gBS->CheckEvent (Service->TimerToGetMap))) {
|
||||||
Udp->Poll (Udp);
|
Udp->Poll (Udp);
|
||||||
|
|
||||||
if (!EFI_ERROR (Udp->GetModeData (Udp, NULL, &Ip4Mode, NULL, NULL)) &&
|
if (!EFI_ERROR (Udp->GetModeData (Udp, NULL, &Ip4Mode, NULL, NULL)) &&
|
||||||
@ -615,7 +615,7 @@ Dns6GetMapping (
|
|||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
while (!EFI_ERROR (gBS->CheckEvent (Service->TimerToGetMap))) {
|
while (EFI_ERROR (gBS->CheckEvent (Service->TimerToGetMap))) {
|
||||||
Udp->Poll (Udp);
|
Udp->Poll (Udp);
|
||||||
|
|
||||||
if (!EFI_ERROR (Udp->GetModeData (Udp, NULL, &Ip6Mode, NULL, NULL))) {
|
if (!EFI_ERROR (Udp->GetModeData (Udp, NULL, &Ip6Mode, NULL, NULL))) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user