From 8ac1fc05567a12e21bbb17a5945d3d13f1ddb76e Mon Sep 17 00:00:00 2001 From: hhuan13 Date: Wed, 4 May 2011 03:15:49 +0000 Subject: 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 --- MdeModulePkg/Universal/Network/Ip4ConfigDxe/Ip4Config.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'MdeModulePkg') 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 -- cgit v1.2.3