commit | 31e5d4abceaa3d11ff583ddf76ec292e90eacb7d | [log] [tgz] |
---|---|---|
author | Brian Niebuhr <bniebuhr3@gmail.com> | Mon Jan 25 14:45:40 2010 -0600 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Tue Feb 16 15:11:10 2010 -0800 |
tree | b5a8132979a4fb5bcfc07f9f2409828e6081cc16 | |
parent | dd091c7b3280d4811b855d034fa91519fd3485ef [diff] |
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>