usb-linux: walk async urb list in cancel
commit227ebeb5353681b206a74db44530e60a46c24275
authorGerd Hoffmann <kraxel@redhat.com>
Mon, 16 May 2011 07:20:06 +0000 (16 09:20 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Thu, 26 May 2011 09:55:02 +0000 (26 11:55 +0200)
treec925cca7c80d852d1b728affd65c485b0021ee47
parent7a8fc83f3469188ef03ea0c1ac9d2ff0dcc36637
usb-linux: walk async urb list in cancel

Lookup async urbs which are to be canceled using the linked list
instead of the direct opaque pointer.  There are two reasons we
are doing that:  First, to avoid the opaque poiner to the callback,
which is needed for upcoming cleanups.  Second, because we might
need multiple urbs per request for highspeed support, so a single
opaque pointer doesn't cut it any more anyway.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
usb-linux.c