diff options
author | xdu2 <xdu2@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-07-04 07:33:34 +0000 |
---|---|---|
committer | xdu2 <xdu2@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-07-04 07:33:34 +0000 |
commit | f3de0a607dd36d045ef8d1782db5e9c296cf6b43 (patch) | |
tree | a711d615f15adfa20c0fd46e4992ddc49d2653fd /MdeModulePkg/Universal/Network/SnpDxe/Snp.c | |
parent | 597cb96fa354bfad999b4149afef7f4e5875f2c7 (diff) | |
download | edk2-platforms-f3de0a607dd36d045ef8d1782db5e9c296cf6b43.tar.xz |
MdeModulePkg: Add unload support for SnpDxe and fix NULL ImageHandle in EfiLibInstallDriverBindingComponentName2() in driver entry point.
Signed-off-by: xdu2
Reviewed-by: vanjeff
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11967 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Universal/Network/SnpDxe/Snp.c')
-rw-r--r-- | MdeModulePkg/Universal/Network/SnpDxe/Snp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/MdeModulePkg/Universal/Network/SnpDxe/Snp.c b/MdeModulePkg/Universal/Network/SnpDxe/Snp.c index e90e4e0244..2dc0536117 100644 --- a/MdeModulePkg/Universal/Network/SnpDxe/Snp.c +++ b/MdeModulePkg/Universal/Network/SnpDxe/Snp.c @@ -1,7 +1,7 @@ /** @file
Implementation of driver entry point and driver binding protocol.
-Copyright (c) 2004 - 2010, Intel Corporation. All rights reserved.<BR>
+Copyright (c) 2004 - 2011, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials are licensed
and made available under the terms and conditions of the BSD License which
accompanies this distribution. The full text of the license may be found at
@@ -1014,7 +1014,7 @@ InitializeSnpNiiDriver ( ImageHandle,
SystemTable,
&mSimpleNetworkDriverBinding,
- NULL,
+ ImageHandle,
&gSimpleNetworkComponentName,
&gSimpleNetworkComponentName2
);
|