USB: gadget eth: Fix calculate CRC32 in EEM
authorJiri Pinkava <jiri.pinkava@vscht.cz>
Sun, 20 Jun 2010 18:05:52 +0000 (20:05 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 30 Jun 2010 15:16:06 +0000 (08:16 -0700)
commit03ab7461df3c74c9418c3f5485ea1127ece1ff79
treed0394ffeeb19872c467ef24e2866818afe0acfb8
parent0d152de56938361fa2b960db67657b20cdaa6d84
USB: gadget eth: Fix calculate CRC32 in EEM

CRC should be calculated for Ethernet frame, not for whole recievede EEM data.
This bug shows rarely, because in many times len == skb->len.

Signed-off-by: Jiri Pinkava <jiri.pinkava@vscht.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/gadget/f_eem.c