diff options
author | Jiri Pirko <jpirko@redhat.com> | 2010-02-23 18:17:07 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-02-26 05:07:31 -0500 |
commit | 567ec874d15b478c8eda7e9a5d2dcb05f13f1fb5 (patch) | |
tree | e0c22740e44eca6f035e7dccbcff114a72d007a3 /drivers/net/znet.c | |
parent | f9dcbcc9e338d08c0f7de7eba4eaafbbb7f81249 (diff) |
net: convert multiple drivers to use netdev_for_each_mc_addr, part6
Signed-off-by: Jiri Pirko <jpirko@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/znet.c')
-rw-r--r-- | drivers/net/znet.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/znet.c b/drivers/net/znet.c index bc5ae0f6e934..def49d2ec69a 100644 --- a/drivers/net/znet.c +++ b/drivers/net/znet.c | |||
@@ -313,7 +313,8 @@ static void znet_set_multicast_list (struct net_device *dev) | |||
313 | /* Byte D */ | 313 | /* Byte D */ |
314 | cfblk->dummy_1 = 1; /* set to 1 */ | 314 | cfblk->dummy_1 = 1; /* set to 1 */ |
315 | cfblk->tx_ifs_retrig = 3; /* Hmm... Disabled */ | 315 | cfblk->tx_ifs_retrig = 3; /* Hmm... Disabled */ |
316 | cfblk->mc_all = (dev->mc_list || (dev->flags&IFF_ALLMULTI));/* multicast all mode */ | 316 | cfblk->mc_all = (!netdev_mc_empty(dev) || |
317 | (dev->flags & IFF_ALLMULTI)); /* multicast all mode */ | ||
317 | cfblk->rcv_mon = 0; /* Monitor mode disabled */ | 318 | cfblk->rcv_mon = 0; /* Monitor mode disabled */ |
318 | cfblk->frag_acpt = 0; /* Do not accept fragments */ | 319 | cfblk->frag_acpt = 0; /* Do not accept fragments */ |
319 | cfblk->tstrttrs = 0; /* No start transmission threshold */ | 320 | cfblk->tstrttrs = 0; /* No start transmission threshold */ |