hso: fix for the 'invalid frame length' messages
authorJan Dumon <j.dumon@option.com>
Wed, 1 Apr 2009 22:59:07 +0000 (22:59 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 2 Apr 2009 23:31:44 +0000 (16:31 -0700)
commit0de8ca597d7b449e9e7ce7af138944acf06c8f05
tree61832daec73548b13a2003517900952105fff763
parent3b7d2b319db0ba1f6208ca58b297fb419301f85a
hso: fix for the 'invalid frame length' messages

Some devices cannot send very short usb transfers. To get around this the
firmware adds a known pattern and flags the driver that it should check for
this pattern on short transfers. This flag was not taken into account by
the driver.

Signed-off-by: Jan Dumon <j.dumon@option.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/hso.c