]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
dm9601: configure MAC to drop invalid (crc/length) packets
authorPeter Korsgaard <jacmet@sunsite.dk>
Tue, 18 Mar 2008 22:16:54 +0000 (23:16 +0100)
committerJeff Garzik <jeff@garzik.org>
Wed, 26 Mar 2008 03:41:04 +0000 (23:41 -0400)
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/usb/dm9601.c

index 723ac47cede0f4b4284fc6d427025af1a331ff07..0343b00cf1fd153064a860770d182fcf67b5cabc 100644 (file)
@@ -341,7 +341,7 @@ static void dm9601_set_multicast(struct net_device *net)
        /* We use the 20 byte dev->data for our 8 byte filter buffer
         * to avoid allocating memory that is tricky to free later */
        u8 *hashes = (u8 *) & dev->data;
-       u8 rx_ctl = 0x01;
+       u8 rx_ctl = 0x31;
 
        memset(hashes, 0x00, DM_MCAST_SIZE);
        hashes[DM_MCAST_SIZE - 1] |= 0x80;      /* broadcast address */