parent
51a73226a9
commit
ea6c14d0d1
@ -1 +1 @@
|
|||||||
3dc5250a56bcf311c5e22fff6d9177aebfde30dd SOURCES/fprintd-v1.94.2.tar.gz
|
cca6665361a82a09505ed4924ae3398427895545 SOURCES/fprintd-v1.94.4.tar.gz
|
||||||
|
@ -1 +1 @@
|
|||||||
SOURCES/fprintd-v1.94.2.tar.gz
|
SOURCES/fprintd-v1.94.4.tar.gz
|
||||||
|
@ -1,28 +0,0 @@
|
|||||||
From 3633dbaa630d4734f3c63721eecbf935315cb80d Mon Sep 17 00:00:00 2001
|
|
||||||
From: Julian <julian@aternos.org>
|
|
||||||
Date: Sun, 1 May 2022 00:29:09 +0200
|
|
||||||
Subject: [PATCH] Don't try to clear storage on devices without internal
|
|
||||||
storage This change prevents warnings like 'Failed to clear storage before
|
|
||||||
first enrollment: Device has no storage.'.
|
|
||||||
|
|
||||||
---
|
|
||||||
src/device.c | 3 ++-
|
|
||||||
1 file changed, 2 insertions(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/src/device.c b/src/device.c
|
|
||||||
index df1e782..b9de3ee 100644
|
|
||||||
--- a/src/device.c
|
|
||||||
+++ b/src/device.c
|
|
||||||
@@ -2209,7 +2209,8 @@ fprint_device_enroll_start (FprintDBusDevice *dbus_dev,
|
|
||||||
priv->enroll_data = finger;
|
|
||||||
priv->current_action = ACTION_ENROLL;
|
|
||||||
|
|
||||||
- if (!fp_device_has_feature (priv->dev, FP_DEVICE_FEATURE_STORAGE_LIST) &&
|
|
||||||
+ if (fp_device_has_feature (priv->dev, FP_DEVICE_FEATURE_STORAGE) &&
|
|
||||||
+ !fp_device_has_feature (priv->dev, FP_DEVICE_FEATURE_STORAGE_LIST) &&
|
|
||||||
is_first_enrollment (rdev))
|
|
||||||
{
|
|
||||||
g_autoptr(GError) clear_err = NULL;
|
|
||||||
--
|
|
||||||
2.38.1
|
|
||||||
|
|
Loading…
Reference in new issue