diff options
-rw-r--r-- | drivers/net/ethernet/realtek/r8169.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/realtek/r8169.c b/drivers/net/ethernet/realtek/r8169.c index f3ce284e54f0..7a7860a17f69 100644 --- a/drivers/net/ethernet/realtek/r8169.c +++ b/drivers/net/ethernet/realtek/r8169.c | |||
@@ -1796,7 +1796,7 @@ static void __rtl8169_set_features(struct net_device *dev, | |||
1796 | else | 1796 | else |
1797 | tp->cp_cmd &= ~RxChkSum; | 1797 | tp->cp_cmd &= ~RxChkSum; |
1798 | 1798 | ||
1799 | if (dev->features & NETIF_F_HW_VLAN_CTAG_RX) | 1799 | if (features & NETIF_F_HW_VLAN_CTAG_RX) |
1800 | tp->cp_cmd |= RxVlan; | 1800 | tp->cp_cmd |= RxVlan; |
1801 | else | 1801 | else |
1802 | tp->cp_cmd &= ~RxVlan; | 1802 | tp->cp_cmd &= ~RxVlan; |