diff mbox

lasi82596: fix netdev_mc_count conversion

Message ID 20100619224139.GA6158@p100.box (mailing list archive)
State Accepted
Headers show

Commit Message

Helge Deller June 19, 2010, 10:41 p.m. UTC
None
diff mbox

Patch

--- a/drivers/net/lib82596.c
+++ b/drivers/net/lib82596.c
@@ -1343,7 +1343,7 @@  static void set_multicast_list(struct net_device *dev)
 	DEB(DEB_MULTI,
 	    printk(KERN_DEBUG
 		   "%s: set multicast list, %d entries, promisc %s, allmulti %s\n",
-		   dev->name, dev->mc_count,
+		   dev->name, netdev_mc_count(dev),
 		   dev->flags & IFF_PROMISC ? "ON" : "OFF",
 		   dev->flags & IFF_ALLMULTI ? "ON" : "OFF"));