Greg: Your recent change to struct urb broke this function in the bluetooth driver. You know, I think usb_wait_for_urb() would make an excellent addition to usbcore. At some future time we could consider replacing synchronous unlink_urb with asynchronous unlink plus wait_for_urb.
Alan Stern ===== drivers/bluetooth/hci_usb.c 1.43 vs edited ===== --- 1.43/drivers/bluetooth/hci_usb.c Wed Apr 21 01:11:06 2004 +++ edited/drivers/bluetooth/hci_usb.c Wed Apr 28 13:20:22 2004 @@ -342,7 +342,7 @@ static inline void hci_usb_wait_for_urb(struct urb *urb) { - while (atomic_read(&urb->count) > 1) { + while (atomic_read(&urb->kref.refcount) > 1) { current->state = TASK_UNINTERRUPTIBLE; schedule_timeout((5 * HZ + 999) / 1000); } ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel