pasemi_mac: Fix CRC checks
authorOlof Johansson <olof@lixom.net>
Wed, 7 Nov 2007 04:21:38 +0000 (22:21 -0600)
committerJeff Garzik <jeff@garzik.org>
Sat, 10 Nov 2007 09:25:14 +0000 (04:25 -0500)
commit32bee776533eea839f9499d985c1490b5ac98512
tree395a2183a97bef80966c5fd5d731e7b3d8b761b7
parentdbd62af7de9ee63f83c0262e4acc3b3319c09c8b
pasemi_mac: Fix CRC checks

Make sure we don't feed packets with bad CRC up the network stack,
and discount the packet length as reported from the MAC for the CRC
field.

Signed-off-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/pasemi_mac.c