return Status; \r
}\r
\r
-/**\r
- Start the DHCP configuration for this IP service instance.\r
- It will locates the EFI_IP4_CONFIG2_PROTOCOL, then start the\r
- DHCP configuration.\r
-\r
- @param[in] Instance The IP4 config2 instance to configure.\r
-\r
- @retval EFI_SUCCESS The auto configuration is successfull started.\r
- @retval Others Failed to start auto configuration.\r
-\r
-**/\r
-EFI_STATUS\r
-Ip4StartAutoConfig (\r
- IN IP4_CONFIG2_INSTANCE *Instance\r
- );\r
-\r
/**\r
Update the current policy to NewPolicy. During the transition\r
period, the default router list\r
}\r
\r
if (NewPolicy == Instance->Policy) {\r
- if (NewPolicy != Ip4Config2PolicyDhcp || Instance->DhcpSuccess) {\r
- return EFI_ABORTED;\r
- }\r
- \r
+ return EFI_ABORTED;\r
} else {\r
if (NewPolicy == Ip4Config2PolicyDhcp) {\r
//\r