mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2025-11-15 07:38:12 +00:00
synaptics: Correctly handle critical section during interrupt resubmit
We re-aquire the critical section at the start of the callback, however, it needs to be dropped again (or not taken) if the interrupt transfer is resubmitted.
This commit is contained in:
@@ -225,6 +225,7 @@ cmd_interrupt_cb (FpiUsbTransfer *transfer,
|
||||
}
|
||||
else
|
||||
{
|
||||
fpi_device_critical_leave (device);
|
||||
fpi_usb_transfer_submit (fpi_usb_transfer_ref (transfer),
|
||||
0,
|
||||
NULL,
|
||||
|
||||
Reference in New Issue
Block a user