usb-linux: use usb_generic_handle_packet()
authorHans de Goede <hdegoede@redhat.com>
Wed, 2 Feb 2011 16:36:29 +0000 (17:36 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Thu, 26 May 2011 09:55:02 +0000 (11:55 +0200)
commitaa28a6e1ebad70aa2949f765d18571f74290cbc1
treece9d06df1e9ba266461b88c8f754653ea3fa2750
parent5ec23c2d5bccbf9b5036a70819d6a4235a67ccbb
usb-linux: use usb_generic_handle_packet()

Make the linux usb host passthrough code use the usb_generic_handle_packet()
function, rather then the curent DYI code. This removes 200 lines of almost
identical code.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
hw/usb.c
hw/usb.h
usb-linux.c