From: Ben Dooks Date: Mon, 19 Oct 2009 23:49:05 +0000 (+0000) Subject: KS8851: Fix ks8851_set_rx_mode() for IFF_MULTICAST X-Git-Tag: v2.6.32-rc6~114^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b6a71bfa00eb110c8a2e38f85572ed361f8bf3a5;p=pandora-kernel.git KS8851: Fix ks8851_set_rx_mode() for IFF_MULTICAST In ks8851_set_rx_mode() the case handling IFF_MULTICAST was also setting the RXCR1_AE bit by accident. This meant that all unicast frames where being accepted by the device. Remove RXCR1_AE from this case. Note, RXCR1_AE was also masking a problem with setting the MAC address properly, so needs to be applied after fixing the MAC write order. Fixes a bug reported by Doong, Ping of Micrel. This version of the patch avoids setting RXCR1_ME for all cases. Signed-off-by: Ben Dooks Signed-off-by: David S. Miller --- Reading git-diff-tree failed