• David Brownell's avatar
    [PATCH] synchronous control/bulk messaging · 80896c80
    David Brownell authored
    This one-liner fixes a problem in synchronous messaging
    with usb_bulk_msg(), usb_control_msg(), and everything
    that calls usb_control_msg():  you're not allowed to call
    blocking functions when you're already on a wait queue.
    
    A better fix would be to just stick the thread on the
    wait queue _after_ submitting the URB, but that should
    involve more testing than I have time for just now.
    80896c80
message.c 21.2 KB