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); }