/** @file\r
VLAN Config Protocol implementation and VLAN packet process routine.\r
\r
-Copyright (c) 2009 - 2016, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR>\r
This program and the accompanying materials\r
are licensed and made available under the terms and conditions\r
of the BSD License which accompanies this distribution. The full\r
@param[in] Buffer Pointer to the buffer contains the array of VLAN_TCI.\r
@param[in] NumberOfVlan Pointer to number of VLAN.\r
@param[out] NewNumberOfVlan Pointer to number of unique VLAN.\r
- \r
+\r
@retval EFI_SUCCESS The VLAN variable is successfully checked.\r
@retval EFI_OUT_OF_RESOURCES There is not enough resource to set the configuration.\r
\r
Count = 0;\r
FoundDuplicateItem = FALSE;\r
Status = EFI_SUCCESS;\r
- \r
+\r
for (Index = 0; Index < NumberOfVlan; Index++) {\r
for (Index2 = Index + 1; Index2 < NumberOfVlan; Index2++) {\r
if (Buffer[Index].Bits.Vid == Buffer[Index2].Bits.Vid) {\r
if (Count != 0) {\r
Status = MnpSetVlanVariable (MnpDeviceData, *NewNumberOfVlan, Buffer);\r
}\r
- \r
+\r
return Status;\r
}\r
\r