net usb asix: Use only 11 bits of header for data size
The AX88772B uses only 11 bits of the header for the actual size. The other bits
are used for something else. This causes dmesg full of messages:

	asix_rx_fixup() Bad Header Length

This patch trims the check to only 11 bits. I believe on older chips, the
remaining 5 top bits are unused.

Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
Signed-off-by: Philipp Zabel <philipp.zabel@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent c827eb8 commit f5fa816cff580047d1e52d26c77aa38ccabf17a3
@Marek Vasut Marek Vasut authored on 22 Jan 2014
Sascha Hauer committed on 23 Jan 2014
Showing 1 changed file
View
drivers/net/usb/asix.c