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:
vanjeff 2009-07-17 04:17:56 +00:00
parent 7edfacbff8
commit 944bf8db90

View File

@ -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
//