mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-28 08:04:07 +02:00
fixed ASSERT condition issue.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8961 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
7edfacbff8
commit
944bf8db90
@ -1113,8 +1113,6 @@ PxeBcDiscvBootService (
|
||||
EFI_DHCP4_HEADER *DhcpHeader;
|
||||
UINT32 Xid;
|
||||
|
||||
ASSERT (IsDiscv && (Layer != NULL));
|
||||
|
||||
Mode = Private->PxeBc.Mode;
|
||||
Dhcp4 = Private->Dhcp4;
|
||||
Status = EFI_SUCCESS;
|
||||
@ -1136,6 +1134,7 @@ PxeBcDiscvBootService (
|
||||
OptCount = PxeBcBuildDhcpOptions (Private, OptList, FALSE);
|
||||
|
||||
if (IsDiscv) {
|
||||
ASSERT (Layer != NULL);
|
||||
//
|
||||
// Add vendor option of PXE_BOOT_ITEM
|
||||
//
|
||||
|
Loading…
x
Reference in New Issue
Block a user