NET: am79c961: ensure multicast filter is correctly set at open
authorRussell King - ARM Linux <linux@arm.linux.org.uk>
Fri, 10 Jun 2011 00:52:14 +0000 (00:52 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 11 Jun 2011 22:56:00 +0000 (15:56 -0700)
commitbfc6501324427a97814de1587f89d73bf8677057
tree4fb3306a4eff794bc2f6c1c48971e328026a334b
parentd814dee0e1a5d9b2f858b91551a0dd0608f777a1
NET: am79c961: ensure multicast filter is correctly set at open

We were clearing out the multicast filter whenever the interface was
upped, and not setting the mode bits correctly.  This can cause
problems if there are any multicast addresses already set at this
point, or if ALLMULTI was set.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/arm/am79c961a.c