Browse Source

Merge branch 'master' into hashfast

nfactor-troky
Con Kolivas 11 years ago
parent
commit
d2d7a7468e
  1. 1
      usbutils.c

1
usbutils.c

@ -2272,6 +2272,7 @@ static int callback_wait(struct usb_transfer *ut, int *transferred, unsigned int @@ -2272,6 +2272,7 @@ static int callback_wait(struct usb_transfer *ut, int *transferred, unsigned int
libusb_cancel_transfer(transfer);
/* Now wait for the callback function to be invoked. */
mutex_lock(&ut->mutex);
pthread_cond_wait(&ut->cond, &ut->mutex);
}
ret = transfer->status;

Loading…
Cancel
Save