1. Refine the error handling when the PXE-v4 DHCP offer isn't valid
Signed-off-by: hhuan13 Reviewed-by: xdu2 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12192 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -388,6 +388,8 @@ EfiPxeBcDhcp (
|
||||
Mode->IcmpErrorReceived = FALSE;
|
||||
Private->Function = EFI_PXE_BASE_CODE_FUNCTION_DHCP;
|
||||
Private->IsOfferSorted = SortOffers;
|
||||
Private->SolicitTimes = 0;
|
||||
Private->ElapsedTime = 0;
|
||||
|
||||
if (!Mode->Started) {
|
||||
return EFI_NOT_STARTED;
|
||||
|
Reference in New Issue
Block a user