Skip to content
Snippets Groups Projects
Commit 9ca33a0f authored by Brian Niebuhr's avatar Brian Niebuhr Committed by Greg Kroah-Hartman
Browse files

USB: Fix CDC EEM host driver 'sentinel' CRC validation


This is an alternate solution to the EEM 'sentinel' CRC valiation issue.

CDC EEM allows using a 'sentinel' ethernet frame CRC of 0xdeadbeef in
place of a real CRC.  The 'sentinel' value is transmitted in big-endian
order whereas the normal CRC is little-endian.  This patch handles both
cases appropriately.

Signed-off-by: default avatarBrian Niebuhr <bniebuhr@efjohnson.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 5429c731
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment