diff options
author | Felix Fietkau <nbd@openwrt.org> | 2015-01-24 22:45:10 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2015-01-24 22:45:10 +0000 |
commit | ff3864e8a42485bafb5d082e513e8177d593b429 (patch) | |
tree | 390202f2614a3838333c51398a93162f33f3f3b7 /target/linux | |
parent | 61bb03d2ebf41a58e7d5bc3e5d9501c06a4df02c (diff) | |
download | upstream-ff3864e8a42485bafb5d082e513e8177d593b429.tar.gz upstream-ff3864e8a42485bafb5d082e513e8177d593b429.tar.bz2 upstream-ff3864e8a42485bafb5d082e513e8177d593b429.zip |
ramips: fix ethernet vlan tx offload support check
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44115 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux')
-rw-r--r-- | target/linux/ramips/files/drivers/net/ethernet/ralink/ralink_soc_eth.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ramips/files/drivers/net/ethernet/ralink/ralink_soc_eth.c b/target/linux/ramips/files/drivers/net/ethernet/ralink/ralink_soc_eth.c index 54a1b9d6f8..550b424835 100644 --- a/target/linux/ramips/files/drivers/net/ethernet/ralink/ralink_soc_eth.c +++ b/target/linux/ramips/files/drivers/net/ethernet/ralink/ralink_soc_eth.c @@ -484,7 +484,7 @@ static int fe_vlan_rx_add_vid(struct net_device *dev, u32 vlan_cfg; if (!((fe_reg_table[FE_REG_FE_DMA_VID_BASE]) && - (dev->features | NETIF_F_HW_VLAN_CTAG_TX))) + (dev->features & NETIF_F_HW_VLAN_CTAG_TX))) return 0; if (test_bit(idx, &priv->vlan_map)) { |