X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=MdeModulePkg%2FUniversal%2FNetwork%2FMnpDxe%2FMnpVlan.c;h=aa7da980d982b32189b4c319685f57f9898111ad;hp=1ba309c41349c3bf4520d89e48030e5da871c0d6;hb=bdebd2cecf015a5feb11e99269731cac606167e8;hpb=779ae3579848a36319d67a6ba012b4b9aa88aa6b diff --git a/MdeModulePkg/Universal/Network/MnpDxe/MnpVlan.c b/MdeModulePkg/Universal/Network/MnpDxe/MnpVlan.c index 1ba309c413..aa7da980d9 100644 --- a/MdeModulePkg/Universal/Network/MnpDxe/MnpVlan.c +++ b/MdeModulePkg/Universal/Network/MnpDxe/MnpVlan.c @@ -1,8 +1,8 @@ /** @file VLAN Config Protocol implementation and VLAN packet process routine. -Copyright (c) 2009, Intel Corporation.
-All rights reserved. This program and the accompanying materials +Copyright (c) 2009 - 2013, Intel Corporation. All rights reserved.
+This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at
@@ -171,7 +171,7 @@ MnpRemoveVlanTag ( /** - Build the packet to transmit from the TxData passed in. + Build the vlan packet to transmit from the TxData passed in. @param MnpServiceData Pointer to the mnp service context data. @param TxData Pointer to the transmit data containing the @@ -197,11 +197,6 @@ MnpInsertVlanTag ( MNP_DEVICE_DATA *MnpDeviceData; EFI_SIMPLE_NETWORK_MODE *SnpMode; - if (MnpServiceData->VlanId == 0) { - *ProtocolType = TxData->ProtocolType; - return ; - } - MnpDeviceData = MnpServiceData->MnpDeviceData; SnpMode = MnpDeviceData->Snp->Mode;