From: Peter Korsgaard Date: Tue, 18 Mar 2008 22:16:54 +0000 (+0100) Subject: dm9601: configure MAC to drop invalid (crc/length) packets X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=33eddedb9cae602e093348421205b1619cccdbb4;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git dm9601: configure MAC to drop invalid (crc/length) packets Signed-off-by: Peter Korsgaard Signed-off-by: Jeff Garzik --- diff --git a/drivers/net/usb/dm9601.c b/drivers/net/usb/dm9601.c index 723ac47cede0..0343b00cf1fd 100644 --- a/drivers/net/usb/dm9601.c +++ b/drivers/net/usb/dm9601.c @@ -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 */