diff options
author | Brian Niebuhr <bniebuhr3@gmail.com> | 2010-01-25 14:45:40 -0600 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-02-16 15:11:10 -0800 |
commit | 31e5d4abceaa3d11ff583ddf76ec292e90eacb7d (patch) | |
tree | b5a8132979a4fb5bcfc07f9f2409828e6081cc16 /drivers/usb/gadget/cdc2.c | |
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>
Diffstat (limited to 'drivers/usb/gadget/cdc2.c')
0 files changed, 0 insertions, 0 deletions