Skip to content

Commit

Permalink
qlge: Fix vlan netdev features.
Browse files Browse the repository at this point in the history
vlan gets the same netdev features except vlan filter.

Signed-off-by: Jitendra Kalsaria <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
Jitendra Kalsaria authored and davem330 committed Jan 15, 2014
1 parent 95f4a45 commit 51bb352
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/net/ethernet/qlogic/qlge/qlge_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 51bb352

Please sign in to comment.