Commit efac52d9 authored by Marco Trevisan's avatar Marco Trevisan Committed by Bastien Nocera
Browse files

device: Fix retry enroll error names

Use proper names for enroll retry errors, fixing a copy/paste error from the
verify code.
parent af18aa35
...@@ -371,9 +371,9 @@ enroll_result_to_name (gboolean completed, gboolean enrolled, GError *error) ...@@ -371,9 +371,9 @@ enroll_result_to_name (gboolean completed, gboolean enrolled, GError *error)
case FP_DEVICE_RETRY_CENTER_FINGER: case FP_DEVICE_RETRY_CENTER_FINGER:
return "enroll-finger-not-centered"; return "enroll-finger-not-centered";
case FP_DEVICE_RETRY_REMOVE_FINGER: case FP_DEVICE_RETRY_REMOVE_FINGER:
return "verify-remove-and-retry";
default:
return "enroll-remove-and-retry"; return "enroll-remove-and-retry";
default:
return "enroll-retry-scan";
} }
} else { } else {
/* Which errors should be mapped to disconnection? /* Which errors should be mapped to disconnection?
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment