USB: gadget: fix EEM gadget CRC usage
Brian Niebuhr authored

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: default avatarSteve Longerbeam <stevel@netspectrum.com>
Acked-by: default avatarBrian Niebuhr <bniebuhr@efjohnson.com>
Acked-by: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
31e5d4ab