diff options
author | Zhang Lubo <lubo.zhang@intel.com> | 2015-11-30 01:41:50 +0000 |
---|---|---|
committer | luobozhang <luobozhang@Edk2> | 2015-11-30 01:41:50 +0000 |
commit | 81438fe8d0fc63f9bc9fcee0113baf6bd395f29c (patch) | |
tree | b535b39101d9ec7a60adb68c664748287ed26eac /NetworkPkg | |
parent | ec613395d114ed6f7c13249a199d1e9cc0025326 (diff) | |
download | edk2-platforms-81438fe8d0fc63f9bc9fcee0113baf6bd395f29c.tar.xz |
NetworkPkg: Fix a bug in HttpBootDriverBindingStop() when destroying child.
If Http Driver is being unloaded or DisconnectController() without
invoke HttpBootStart(), this will cause an unexpected ASSERT.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Zhang Lubo <lubo.zhang@intel.com>
Reviewed-by: Sriram Subramanian <sriram-s@hpe.com>
Reviewed-by: Fu Siyuan <siyuan.fu@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19005 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'NetworkPkg')
-rw-r--r-- | NetworkPkg/HttpBootDxe/HttpBootDxe.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/NetworkPkg/HttpBootDxe/HttpBootDxe.c b/NetworkPkg/HttpBootDxe/HttpBootDxe.c index a7fc8a8e2e..9fb33bbb53 100644 --- a/NetworkPkg/HttpBootDxe/HttpBootDxe.c +++ b/NetworkPkg/HttpBootDxe/HttpBootDxe.c @@ -50,7 +50,6 @@ HttpBootDestroyIp4Children ( {
ASSERT (This != NULL);
ASSERT (Private != NULL);
- ASSERT (Private->UsingIpv6 == FALSE);
if (Private->Dhcp4Child != NULL) {
gBS->CloseProtocol (
@@ -111,7 +110,6 @@ HttpBootDestroyIp6Children ( {
ASSERT (This != NULL);
ASSERT (Private != NULL);
- ASSERT (Private->UsingIpv6 == TRUE);
if (Private->Ip6Child != NULL) {
gBS->CloseProtocol (
|