[OpenWrt-Devel] [PATCH] [ 1/5] ramips: fix ethernet vlan tx offload support check when delete
michael lee
igvtee at gmail.com
Tue Jun 2 09:06:41 EDT 2015
Signed-off-by: michael lee <igvtee at gmail.com>
---
target/linux/ramips/files/drivers/net/ethernet/ralink/ralink_soc_eth.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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 1822fea..60c3c91 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
@@ -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);
--
2.0.5
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list