]> git.proxmox.com Git - mirror_edk2.git/blobdiff - NetworkPkg/Dhcp6Dxe/Dhcp6Driver.c
BaseTools: Make brotli a submodule
[mirror_edk2.git] / NetworkPkg / Dhcp6Dxe / Dhcp6Driver.c
index eaa18fcff3df03e3acfe0d18d3502264a8eb0276..f0b236835f869c621a96811f289fd7d9e5cec2df 100644 (file)
@@ -1,16 +1,10 @@
 /** @file\r
   Driver Binding functions and Service Binding functions\r
-  implementationfor for Dhcp6 Driver.\r
+  implementation for Dhcp6 Driver.\r
 \r
   Copyright (c) 2009 - 2018, 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
-  which accompanies this distribution.  The full text of the license may be found at\r
-  http://opensource.org/licenses/bsd-license.php.\r
-\r
-  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+  SPDX-License-Identifier: BSD-2-Clause-Patent\r
 \r
 **/\r
 \r
@@ -306,7 +300,7 @@ Dhcp6CreateInstance (
 \r
   //\r
   // There is a timer for each Dhcp6 instance, which is used to track the\r
-  // lease time of Ia and the retransmisson time of all sent packets.\r
+  // lease time of Ia and the retransmission time of all sent packets.\r
   //\r
   Status = gBS->CreateEvent (\r
                   EVT_NOTIFY_SIGNAL | EVT_TIMER,\r
@@ -451,7 +445,7 @@ Dhcp6DriverBindingStart (
   DHCP6_SERVICE                   *Service;\r
 \r
   //\r
-  // Check the Dhcp6 serivce whether already started.\r
+  // Check the Dhcp6 service whether already started.\r
   //\r
   Status = gBS->OpenProtocol (\r
                   ControllerHandle,\r
@@ -557,7 +551,7 @@ Dhcp6DriverBindingStop (
   Service = DHCP6_SERVICE_FROM_THIS (ServiceBinding);\r
   if (!IsListEmpty (&Service->Child)) {\r
     //\r
-    // Destroy all the children instances before destory the service.\r
+    // Destroy all the children instances before destroy the service.\r
     //\r
     List = &Service->Child;\r
     Status = NetDestroyLinkList (\r
@@ -609,7 +603,7 @@ ON_EXIT:
                               then a new handle is created. If it is a pointer to an existing\r
                               UEFI handle, then the protocol is added to the existing UEFI handle.\r
 \r
-  @retval EFI_SUCCES            The protocol was added to ChildHandle.\r
+  @retval EFI_SUCCESS           The protocol was added to ChildHandle.\r
   @retval EFI_INVALID_PARAMETER ChildHandle is NULL.\r
   @retval other                 The child handle was not created.\r
 \r
@@ -721,7 +715,7 @@ ON_ERROR:
   @param[in]  This        Pointer to the EFI_SERVICE_BINDING_PROTOCOL instance.\r
   @param[in]  ChildHandle Handle of the child to destroy\r
 \r
-  @retval EFI_SUCCES            The protocol was removed from ChildHandle.\r
+  @retval EFI_SUCCESS           The protocol was removed from ChildHandle.\r
   @retval EFI_UNSUPPORTED       ChildHandle does not support the protocol that is being removed.\r
   @retval EFI_INVALID_PARAMETER Child handle is NULL.\r
   @retval EFI_ACCESS_DENIED     The protocol could not be removed from the ChildHandle\r