Revision: 19005
          http://sourceforge.net/p/edk2/code/19005
Author:   luobozhang
Date:     2015-11-30 01:41:50 +0000 (Mon, 30 Nov 2015)
Log Message:
-----------
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 <[email protected]>
Reviewed-by: Sriram Subramanian <[email protected]>
Reviewed-by: Fu Siyuan <[email protected]>

Modified Paths:
--------------
    trunk/edk2/NetworkPkg/HttpBootDxe/HttpBootDxe.c

Modified: trunk/edk2/NetworkPkg/HttpBootDxe/HttpBootDxe.c
===================================================================
--- trunk/edk2/NetworkPkg/HttpBootDxe/HttpBootDxe.c     2015-11-27 17:11:03 UTC 
(rev 19004)
+++ trunk/edk2/NetworkPkg/HttpBootDxe/HttpBootDxe.c     2015-11-30 01:41:50 UTC 
(rev 19005)
@@ -50,7 +50,6 @@
 {
   ASSERT (This != NULL);
   ASSERT (Private != NULL);
-  ASSERT (Private->UsingIpv6 == FALSE);
 
   if (Private->Dhcp4Child != NULL) {
     gBS->CloseProtocol (
@@ -111,7 +110,6 @@
 {
   ASSERT (This != NULL);
   ASSERT (Private != NULL);
-  ASSERT (Private->UsingIpv6 == TRUE);
   
   if (Private->Ip6Child != NULL) {
     gBS->CloseProtocol (


------------------------------------------------------------------------------
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741551&iu=/4140
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to