aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/cs89x0.c
diff options
context:
space:
mode:
authorJiri Pirko <jpirko@redhat.com>2010-02-17 06:09:31 -0500
committerDavid S. Miller <davem@davemloft.net>2010-02-17 16:27:12 -0500
commite1d444771e0895c7706bc99857d69e4f2a58a531 (patch)
treeb17410e94c6c78416b6e125fad0c4ed208edc39f /drivers/net/cs89x0.c
parentd7b855c2dcc89587f36338bd383203322efb9903 (diff)
net: convert multiple drivers to use netdev_for_each_mc_addr
Signed-off-by: Jiri Pirko <jpirko@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/cs89x0.c')
-rw-r--r--drivers/net/cs89x0.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/cs89x0.c b/drivers/net/cs89x0.c
index 0e79cef95c0a..14624019ce71 100644
--- a/drivers/net/cs89x0.c
+++ b/drivers/net/cs89x0.c
@@ -1785,7 +1785,7 @@ static void set_multicast_list(struct net_device *dev)
1785 { 1785 {
1786 lp->rx_mode = RX_ALL_ACCEPT; 1786 lp->rx_mode = RX_ALL_ACCEPT;
1787 } 1787 }
1788 else if((dev->flags&IFF_ALLMULTI)||dev->mc_list) 1788 else if ((dev->flags & IFF_ALLMULTI) || !netdev_mc_empty(dev))
1789 { 1789 {
1790 /* The multicast-accept list is initialized to accept-all, and we 1790 /* The multicast-accept list is initialized to accept-all, and we
1791 rely on higher-level filtering for now. */ 1791 rely on higher-level filtering for now. */