diff options
author | vanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-07-17 04:17:56 +0000 |
---|---|---|
committer | vanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-07-17 04:17:56 +0000 |
commit | 944bf8db90f060f1427c3088d7b56eecedb50c42 (patch) | |
tree | a9c44c5bfe1519fed9fdd1d16cab6f8f11458e16 | |
parent | 7edfacbff885285d233095d8979dd8e93718b1a0 (diff) | |
download | edk2-platforms-944bf8db90f060f1427c3088d7b56eecedb50c42.tar.xz |
fixed ASSERT condition issue.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8961 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r-- | MdeModulePkg/Universal/Network/UefiPxeBcDxe/PxeBcDhcp.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/MdeModulePkg/Universal/Network/UefiPxeBcDxe/PxeBcDhcp.c b/MdeModulePkg/Universal/Network/UefiPxeBcDxe/PxeBcDhcp.c index 15a5b26d68..1d5557f7a9 100644 --- a/MdeModulePkg/Universal/Network/UefiPxeBcDxe/PxeBcDhcp.c +++ b/MdeModulePkg/Universal/Network/UefiPxeBcDxe/PxeBcDhcp.c @@ -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
//
|