netdev: octeon_mgmt: Use proper MAC addresses.
authorDavid Daney <ddaney@caviumnetworks.com>
Wed, 5 May 2010 13:03:08 +0000 (13:03 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 6 May 2010 04:22:33 +0000 (21:22 -0700)
commit62538d2490d071e822d85651445c8a0bb4ed5a4b
tree196a439484585ceb3eb1caf1599e271cdf432a9a
parent7f01648aa32185b8047aea384237ad58e430e07f
netdev: octeon_mgmt: Use proper MAC addresses.

The original implementation incorrectly uses netdev->dev_addrs.

Use netdev->uc instead.  Also use netdev_for_each_uc_addr to iterate
over the addresses.  Fix comment.

Signed-off-by: David Daney <ddaney@caviumnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/octeon/octeon_mgmt.c