mirror of
https://github.com/hanwckf/immortalwrt-mt798x.git
synced 2025-01-10 11:09:57 +08:00
ramips: fix ethernet vlan tx offload support check when delete
Signed-off-by: michael lee <igvtee@gmail.com> SVN-Revision: 45893
This commit is contained in:
parent
4746e539e0
commit
0d043d3ac0
@ -514,7 +514,7 @@ static int fe_vlan_rx_kill_vid(struct net_device *dev,
|
|||||||
u32 idx = (vid & 0xf);
|
u32 idx = (vid & 0xf);
|
||||||
|
|
||||||
if (!((fe_reg_table[FE_REG_FE_DMA_VID_BASE]) &&
|
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;
|
return 0;
|
||||||
|
|
||||||
clear_bit(idx, &priv->vlan_map);
|
clear_bit(idx, &priv->vlan_map);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user