> Take a look here
> http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/bluez/kernel/drivers/hci_usb
>.c?rev=1.1.1.1&content-type=text/vnd.viewcvs-markup hci_usb_unlink_urbs does
> unlinking on disconnect.
> hci_usb_tx_complete is a completion handler for bulk out transfers.
> I don't have to hold queue lock when I call unlink_urb. Although I now
> think that this code is a bit racy :)

I'll have a close look at it.

> btw What will happen if unlink_urb is called while completion handler is
> running ?

An error code will be returned.

        Regards
                Oliver

_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to