mirror of https://github.com/hak5/openwrt-owl.git
ramips: fix ethernet vlan tx offload support check
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 44115owl
parent
b8303e0337
commit
5d4837706a
|
@ -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)) {
|
||||
|
|
Loading…
Reference in New Issue