diff options
author | hhuan13 <hhuan13@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-05-04 03:15:49 +0000 |
---|---|---|
committer | hhuan13 <hhuan13@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-05-04 03:15:49 +0000 |
commit | 8ac1fc05567a12e21bbb17a5945d3d13f1ddb76e (patch) | |
tree | 34926d2a9289d4f87b83b60e88ee120603a7f2aa | |
parent | c24097a59ffb10d63c805c4da65476ed6e297c5c (diff) | |
download | edk2-platforms-8ac1fc05567a12e21bbb17a5945d3d13f1ddb76e.tar.xz |
1. Fixed a issue in Ip4Config.c
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11615 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r-- | MdeModulePkg/Universal/Network/Ip4ConfigDxe/Ip4Config.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/MdeModulePkg/Universal/Network/Ip4ConfigDxe/Ip4Config.c b/MdeModulePkg/Universal/Network/Ip4ConfigDxe/Ip4Config.c index 937da41f2c..7288234bfa 100644 --- a/MdeModulePkg/Universal/Network/Ip4ConfigDxe/Ip4Config.c +++ b/MdeModulePkg/Universal/Network/Ip4ConfigDxe/Ip4Config.c @@ -129,6 +129,9 @@ EfiNicIp4ConfigSetInfo ( DispatchDpc ();
}
+ if (NicConfig == NULL) {
+ return Status;
+ }
//
// A dedicated timer is used to poll underlying media status.In case of
// cable swap, a new round auto configuration will be initiated. The timer
|