Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 60b67703 authored by Shan Wei's avatar Shan Wei Committed by David S. Miller
Browse files

net: 8139too: Initial necessary vlan_features to support vlan



Offload setting of vlan device requires
vlan_features to be initialized.

Signed-off-by: default avatarShan Wei <shanwei@cn.fujitsu.com>
Acked-by: default avatarFrancois Romieu <romieu@fr.zoreil.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 5f77898d
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -992,6 +992,7 @@ static int __devinit rtl8139_init_one (struct pci_dev *pdev,
	 * features
	 */
	dev->features |= NETIF_F_SG | NETIF_F_HW_CSUM | NETIF_F_HIGHDMA;
	dev->vlan_features = dev->features;

	dev->irq = pdev->irq;