uhci: Fixed length handling for SETUP and OUT tokens
authoraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>
Fri, 22 Aug 2008 08:58:08 +0000 (08:58 +0000)
committeraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>
Fri, 22 Aug 2008 08:58:08 +0000 (08:58 +0000)
commita281d7d5da6aad143673399b5e515f9b34180c10
tree1f57c4526835ef85a5c0c74726479019e8f389c4
parent6d627b8879b51ce7f349e73d023846f9e4aad75b
uhci: Fixed length handling for SETUP and OUT tokens

Fixes regression reported agains Linux 2.6.18.
Looks like XP and newer Linux kernels are less sensitive
to length returned for control transfers.

Signed-off-by: Max Krasnyansky <maxk@kernel.org>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5070 c046a42c-6fe2-441c-8c8c-71466251a162
hw/usb-uhci.c