]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit81e9b0bf54a97774f9fd7df8524595492574dee5
tree4fb3306a4eff794bc2f6c1c48971e328026a334b
parentd4dd05a47e8d629cc03d0cb4c516656c39d0d3b9
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