mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2025-11-15 07:38:12 +00:00
uru4000: Fix transfer type on interrupt endpoint
It appears the kernel automatically "fixes" this mistake and it works. the transfer in question is an interrupt transfer and should be submitted as such. Do that in order to make things more correct and so that the test can run.
This commit is contained in:
@@ -360,7 +360,7 @@ start_irq_handler (FpImageDevice *dev)
|
|||||||
transfer = fpi_usb_transfer_new (FP_DEVICE (dev));
|
transfer = fpi_usb_transfer_new (FP_DEVICE (dev));
|
||||||
transfer->ssm = NULL;
|
transfer->ssm = NULL;
|
||||||
transfer->short_is_error = TRUE;
|
transfer->short_is_error = TRUE;
|
||||||
fpi_usb_transfer_fill_bulk (transfer,
|
fpi_usb_transfer_fill_interrupt (transfer,
|
||||||
EP_INTR,
|
EP_INTR,
|
||||||
IRQ_LENGTH);
|
IRQ_LENGTH);
|
||||||
fpi_usb_transfer_submit (transfer, 0, self->irq_cancellable, irq_handler, NULL);
|
fpi_usb_transfer_submit (transfer, 0, self->irq_cancellable, irq_handler, NULL);
|
||||||
|
|||||||
Reference in New Issue
Block a user