/** @file\r
Mtftp6 Rrq process functions implementation.\r
\r
- Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.<BR>\r
+ Copyright (c) 2009 - 2012, Intel Corporation. All rights reserved.<BR>\r
\r
This program and the accompanying materials\r
are licensed and made available under the terms and conditions of the BSD License\r
if (EFI_ERROR (Status)) {\r
return Status;\r
}\r
+ ASSERT (Options != NULL);\r
\r
//\r
// Parse the extensive options in the packet.\r
);\r
\r
Instance->McastPort = ExtInfo.McastPort;\r
- Instance->McastUdpIo = UdpIoCreateIo (\r
- Instance->Service->Controller,\r
- Instance->Service->Image,\r
- Mtftp6RrqConfigMcastUdpIo,\r
- UDP_IO_UDP6_VERSION,\r
- Instance\r
- );\r
+ if (Instance->McastUdpIo == NULL) {\r
+ Instance->McastUdpIo = UdpIoCreateIo (\r
+ Instance->Service->Controller,\r
+ Instance->Service->Image,\r
+ Mtftp6RrqConfigMcastUdpIo,\r
+ UDP_IO_UDP6_VERSION,\r
+ Instance\r
+ );\r
+ }\r
\r
if (Instance->McastUdpIo == NULL) {\r
return EFI_DEVICE_ERROR;\r