From 657fe85c25c5d88153b17257f490216e173bfa06 Mon Sep 17 00:00:00 2001
From: Benjamin Berg <bberg@redhat.com>
Date: Thu, 29 Apr 2021 14:12:19 +0200
Subject: [PATCH] device: Add missing CLEAR_STORAGE to fpi_device_action_error

This was missed in the previous commit that added the support.
---
 libfprint/fpi-device.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/libfprint/fpi-device.c b/libfprint/fpi-device.c
index f1dab29..a526a51 100644
--- a/libfprint/fpi-device.c
+++ b/libfprint/fpi-device.c
@@ -768,6 +768,10 @@ fpi_device_action_error (FpDevice *device,
       fpi_device_list_complete (device, NULL, error);
       break;
 
+    case FPI_DEVICE_ACTION_CLEAR_STORAGE:
+      fpi_device_clear_storage_complete (device, error);
+      break;
+
     default:
     case FPI_DEVICE_ACTION_NONE:
       g_return_if_reached ();