aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/r8169.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/r8169.c')
-rw-r--r--drivers/net/r8169.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/r8169.c b/drivers/net/r8169.c
index f6899c3500b5..acfc5a3aa490 100644
--- a/drivers/net/r8169.c
+++ b/drivers/net/r8169.c
@@ -4763,8 +4763,8 @@ static void rtl_set_rx_mode(struct net_device *dev)
4763 AcceptBroadcast | AcceptMulticast | AcceptMyPhys | 4763 AcceptBroadcast | AcceptMulticast | AcceptMyPhys |
4764 AcceptAllPhys; 4764 AcceptAllPhys;
4765 mc_filter[1] = mc_filter[0] = 0xffffffff; 4765 mc_filter[1] = mc_filter[0] = 0xffffffff;
4766 } else if ((dev->mc_count > multicast_filter_limit) 4766 } else if ((dev->mc_count > multicast_filter_limit) ||
4767 || (dev->flags & IFF_ALLMULTI)) { 4767 (dev->flags & IFF_ALLMULTI)) {
4768 /* Too many to filter perfectly -- accept all multicasts. */ 4768 /* Too many to filter perfectly -- accept all multicasts. */
4769 rx_mode = AcceptBroadcast | AcceptMulticast | AcceptMyPhys; 4769 rx_mode = AcceptBroadcast | AcceptMulticast | AcceptMyPhys;
4770 mc_filter[1] = mc_filter[0] = 0xffffffff; 4770 mc_filter[1] = mc_filter[0] = 0xffffffff;