OSDN Git Service

net: asix: handle packets crossing URB boundaries
authorLucas Stach <dev@lynxeye.de>
Wed, 16 Jan 2013 04:24:07 +0000 (04:24 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 18 Jan 2013 19:13:29 +0000 (14:13 -0500)
commit8b5b6f5413e97c3e8bafcdd67553d508f4f698cd
treefb90f82d9232e927f0656f3cb9cb0226e030c31c
parent5620df65d81292c5fb1beba8d380ef58cd98b53f
net: asix: handle packets crossing URB boundaries

ASIX AX88772B started to pack data even more tightly. Packets and the ASIX packet
header may now cross URB boundaries. To handle this we have to introduce
some state between individual calls to asix_rx_fixup().

Signed-off-by: Lucas Stach <dev@lynxeye.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/asix.h
drivers/net/usb/asix_common.c
drivers/net/usb/asix_devices.c
drivers/net/usb/ax88172a.c