ramips: fix ethernet vlan tx offload support check when delete

Signed-off-by: michael lee <igvtee@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45893 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
Felix Fietkau 2015-06-05 08:59:42 +00:00
parent 56597ee25b
commit 3600ab59e0
1 changed files with 1 additions and 1 deletions

View File

@ -514,7 +514,7 @@ static int fe_vlan_rx_kill_vid(struct net_device *dev,
u32 idx = (vid & 0xf);
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;
clear_bit(idx, &priv->vlan_map);