mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2026-03-23 06:20:38 +01: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:
parent
1f925fef7c
commit
bfbe24b172
1 changed files with 1 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue