diff --git a/NetworkPkg/HttpBootDxe/HttpBootDhcp6.c b/NetworkPkg/HttpBootDxe/HttpBootDhcp6.c index 809accc29b..847864203c 100644 --- a/NetworkPkg/HttpBootDxe/HttpBootDhcp6.c +++ b/NetworkPkg/HttpBootDxe/HttpBootDhcp6.c @@ -418,9 +418,6 @@ HttpBootDhcp6CallBack ( HTTP_BOOT_PRIVATE_DATA *Private; EFI_DHCP6_PACKET *SelectAd; EFI_STATUS Status; - if ((Dhcp6Event != Dhcp6RcvdAdvertise) && (Dhcp6Event != Dhcp6SelectAdvertise)) { - return EFI_SUCCESS; - } ASSERT (Packet != NULL);