Skip to content

Commit

Permalink
net: 8139too: Initial necessary vlan_features to support vlan
Browse files Browse the repository at this point in the history
Offload setting of vlan device requires
vlan_features to be initialized.

Signed-off-by: Shan Wei <shanwei@cn.fujitsu.com>
Acked-by: Francois Romieu <romieu@fr.zoreil.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Shan Wei authored and David S. Miller committed Jul 4, 2011
1 parent 5f77898 commit 60b6770
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/net/8139too.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 60b6770

Please sign in to comment.