Brian Niebuhr 31e5d4abce USB: gadget: fix EEM gadget CRC usage
eem_wrap() is sending a sentinel CRC, but it didn't indicate that to
the host, it should zero bit 14 (bmCRC) in the EEM packet header,
instead of setting it.

Also remove a redundant crc calculation in eem_unwrap().


Signed-off-by: Steve Longerbeam <stevel@netspectrum.com>
Acked-by: Brian Niebuhr <bniebuhr@efjohnson.com>
Acked-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-02-16 15:11:10 -08:00
..
2009-12-11 11:55:15 -08:00
2009-01-07 09:59:58 -08:00
2008-10-22 10:05:28 -07:00
2010-02-16 15:11:10 -08:00
2009-09-23 18:13:10 -07:00
2009-09-23 18:13:10 -07:00
2009-09-23 18:13:10 -07:00
2009-10-04 15:05:10 -07:00
2009-07-12 12:22:34 -07:00
2008-07-21 15:16:10 -07:00
2009-09-23 06:46:35 -07:00
2009-09-23 06:46:35 -07:00
2009-09-23 18:13:10 -07:00
2008-10-17 14:40:53 -07:00