mirror of
https://github.com/morgan9e/libfprint-fpc1020
synced 2026-04-15 00:44:25 +09:00
etes603: Prevent hang during enroll process
This commit fixes a hang in gnome-settings when trying to enroll a finger. The same issue could be seen in the enroll example. Previously the enroll example would hang on "deactivating" because at some point dev->is_active is set to false and m_exit_start is never called.
This commit is contained in:
@@ -1430,8 +1430,9 @@ static void dev_deactivate(struct fp_img_dev *idev)
|
||||
/* this can be called even if still activated. */
|
||||
if (dev->is_active == TRUE) {
|
||||
dev->is_active = FALSE;
|
||||
m_exit_start(idev);
|
||||
}
|
||||
|
||||
m_exit_start(idev);
|
||||
}
|
||||
|
||||
static int dev_open(struct fp_img_dev *idev, unsigned long driver_data)
|
||||
|
||||
Reference in New Issue
Block a user