diff options
Diffstat (limited to 'drivers/net/ps3_gelic_net.c')
-rw-r--r-- | drivers/net/ps3_gelic_net.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ps3_gelic_net.c b/drivers/net/ps3_gelic_net.c index 0c768593aad0..c19dd4a6cd76 100644 --- a/drivers/net/ps3_gelic_net.c +++ b/drivers/net/ps3_gelic_net.c | |||
@@ -568,7 +568,7 @@ void gelic_net_set_multi(struct net_device *netdev) | |||
568 | status); | 568 | status); |
569 | 569 | ||
570 | if ((netdev->flags & IFF_ALLMULTI) || | 570 | if ((netdev->flags & IFF_ALLMULTI) || |
571 | (netdev->mc_count > GELIC_NET_MC_COUNT_MAX)) { | 571 | (netdev_mc_count(netdev) > GELIC_NET_MC_COUNT_MAX)) { |
572 | status = lv1_net_add_multicast_address(bus_id(card), | 572 | status = lv1_net_add_multicast_address(bus_id(card), |
573 | dev_id(card), | 573 | dev_id(card), |
574 | 0, 1); | 574 | 0, 1); |