/** @file\r
VLAN Config Protocol implementation and VLAN packet process routine.\r
\r
-Copyright (c) 2009, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2009 - 2014, 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
\r
\r
/**\r
- Build the packet to transmit from the TxData passed in.\r
+ Build the vlan packet to transmit from the TxData passed in.\r
\r
@param MnpServiceData Pointer to the mnp service context data.\r
@param TxData Pointer to the transmit data containing the\r
MNP_DEVICE_DATA *MnpDeviceData;\r
EFI_SIMPLE_NETWORK_MODE *SnpMode;\r
\r
- if (MnpServiceData->VlanId == 0) {\r
- *ProtocolType = TxData->ProtocolType;\r
- return ;\r
- }\r
-\r
MnpDeviceData = MnpServiceData->MnpDeviceData;\r
SnpMode = MnpDeviceData->Snp->Mode;\r
\r
return gRT->SetVariable (\r
MnpDeviceData->MacString,\r
&gEfiVlanConfigProtocolGuid,\r
- EFI_VARIABLE_NON_VOLATILE | EFI_VARIABLE_BOOTSERVICE_ACCESS | EFI_VARIABLE_RUNTIME_ACCESS,\r
+ EFI_VARIABLE_NON_VOLATILE | EFI_VARIABLE_BOOTSERVICE_ACCESS,\r
NumberOfVlan * sizeof (VLAN_TCI),\r
VlanVariable\r
);\r