On Tue, 24 Jul 2007 16:46:21 -0400 (EDT), Alan Stern <[EMAIL PROTECTED]> wrote:
> static int usb_start_wait_urb(struct urb *urb, int timeout, int
> *actual_length)
> {
> - struct completion done;
> + struct api_context ctx;
> unsigned long expire;
> int retval;
> - int status = urb->status;
>
> - init_completion(&done);
> - urb->context = &done;
> + init_completion(&ctx.done);
> + urb->context = &ctx;
> urb->actual_length = 0;
> retval = usb_submit_urb(urb, GFP_NOIO);
Oh. My. God.
-- Pete
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel