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

device: Fix verify-disconnected state name

Respect protocol, and use proper name
parent efac52d9
......@@ -344,7 +344,7 @@ verify_result_to_name (gboolean match, GError *error)
* Are drivers/libfprint/fprintd really in agreement here?
*/
if (g_error_matches (error, FP_DEVICE_ERROR, FP_DEVICE_ERROR_PROTO))
return "verify-disconnect";
return "verify-disconnected";
else if (g_error_matches (error, G_IO_ERROR, G_IO_ERROR_CANCELLED))
return "verify-no-match";
......
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