diff options
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 */ |