38 lines
1.1 KiB
Diff
38 lines
1.1 KiB
Diff
From 94bc978bc16f04480921ea9222051ae2f0f30318 Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Marco=20Trevisan=20=28Trevi=C3=B1o=29?= <mail@3v1n0.net>
|
|
Date: Thu, 12 Dec 2019 15:49:35 +0100
|
|
Subject: [PATCH 125/181] fpi-ssm: Add debug message when a delayed state
|
|
change is cancelled
|
|
|
|
---
|
|
libfprint/fpi-ssm.c | 6 ++++++
|
|
1 file changed, 6 insertions(+)
|
|
|
|
diff --git a/libfprint/fpi-ssm.c b/libfprint/fpi-ssm.c
|
|
index d672064..6e56e44 100644
|
|
--- a/libfprint/fpi-ssm.c
|
|
+++ b/libfprint/fpi-ssm.c
|
|
@@ -213,6 +213,9 @@ on_delayed_action_cancelled (GCancellable *cancellable,
|
|
{
|
|
CancelledActionIdleData *data;
|
|
|
|
+ fp_dbg ("[%s] %s cancelled delayed state change",
|
|
+ fp_device_get_driver (machine->dev), machine->name);
|
|
+
|
|
g_clear_pointer (&machine->timeout, g_source_destroy);
|
|
|
|
data = g_new0 (CancelledActionIdleData, 1);
|
|
@@ -469,6 +472,9 @@ fpi_ssm_cancel_delayed_state_change (FpiSsm *machine)
|
|
BUG_ON (machine->completed);
|
|
BUG_ON (machine->timeout == NULL);
|
|
|
|
+ fp_dbg ("[%s] %s cancelled delayed state change",
|
|
+ fp_device_get_driver (machine->dev), machine->name);
|
|
+
|
|
fpi_ssm_clear_delayed_action (machine);
|
|
}
|
|
|
|
--
|
|
2.24.1
|
|
|