aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/enic
diff options
context:
space:
mode:
authorScott Feldman <scofeldm@cisco.com>2009-09-03 17:02:29 +0000
committerDavid S. Miller <davem@davemloft.net>2009-09-03 20:19:19 -0700
commit9f63a7c6aef00a8eafa7521342099f199f68c575 (patch)
tree7c4b14d3faee0582c7924d1b96bffa304c024767 /drivers/net/enic
parent6ba9cdc09678d6925c205ef0b0bd374e31589ecf (diff)
downloadkernel_samsung_tuna-9f63a7c6aef00a8eafa7521342099f199f68c575.zip
kernel_samsung_tuna-9f63a7c6aef00a8eafa7521342099f199f68c575.tar.gz
kernel_samsung_tuna-9f63a7c6aef00a8eafa7521342099f199f68c575.tar.bz2
enic: bug fix: enable VLAN filtering
Bug fix: enable VLAN filtering Signed-off-by: Scott Feldman <scofeldm@cisco.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/enic')
-rw-r--r--drivers/net/enic/enic_main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/enic/enic_main.c b/drivers/net/enic/enic_main.c
index e01067e..e0bf224 100644
--- a/drivers/net/enic/enic_main.c
+++ b/drivers/net/enic/enic_main.c
@@ -1968,7 +1968,8 @@ static int __devinit enic_probe(struct pci_dev *pdev,
break;
}
- netdev->features |= NETIF_F_HW_VLAN_TX | NETIF_F_HW_VLAN_RX;
+ netdev->features |= NETIF_F_HW_VLAN_TX |
+ NETIF_F_HW_VLAN_RX | NETIF_F_HW_VLAN_FILTER;
if (ENIC_SETTING(enic, TXCSUM))
netdev->features |= NETIF_F_SG | NETIF_F_HW_CSUM;
if (ENIC_SETTING(enic, TSO))