diff options
author | Jitendra Kalsaria <jitendra.kalsaria@qlogic.com> | 2014-01-14 13:57:25 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-01-14 19:02:35 -0800 |
commit | 51bb352f15595f2dee42b599680809de3d08999d (patch) | |
tree | 48496b3b87a8dd6c4c4d0bccb64d096e8a0ee622 /drivers/net/ethernet/qlogic | |
parent | 95f4a45de1a0f172b35451fc52283290adb21f6e (diff) | |
download | op-kernel-dev-51bb352f15595f2dee42b599680809de3d08999d.zip op-kernel-dev-51bb352f15595f2dee42b599680809de3d08999d.tar.gz |
qlge: Fix vlan netdev features.
vlan gets the same netdev features except vlan filter.
Signed-off-by: Jitendra Kalsaria <jitendra.kalsaria@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/qlogic')
-rw-r--r-- | drivers/net/ethernet/qlogic/qlge/qlge_main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ethernet/qlogic/qlge/qlge_main.c b/drivers/net/ethernet/qlogic/qlge/qlge_main.c index 449f506..f705aee 100644 --- a/drivers/net/ethernet/qlogic/qlge/qlge_main.c +++ b/drivers/net/ethernet/qlogic/qlge/qlge_main.c @@ -4765,6 +4765,8 @@ static int qlge_probe(struct pci_dev *pdev, NETIF_F_RXCSUM; ndev->features = ndev->hw_features; ndev->vlan_features = ndev->hw_features; + /* vlan gets same features (except vlan filter) */ + ndev->vlan_features &= ~NETIF_F_HW_VLAN_CTAG_FILTER; if (test_bit(QL_DMA64, &qdev->flags)) ndev->features |= NETIF_F_HIGHDMA; |