flash-ipmi: implement flashDataFinish

Change-Id: I0706df68bedd4ebceb50b10682e5e056fc7937f1
Signed-off-by: Patrick Venture <venture@google.com>
diff --git a/flash-ipmi.cpp b/flash-ipmi.cpp
index 07b9b9a..42333dd 100644
--- a/flash-ipmi.cpp
+++ b/flash-ipmi.cpp
@@ -129,7 +129,13 @@
 
 bool FlashUpdate::flashFinish()
 {
-    /* TODO: implement. */
+    /* If it's open, close it. */
+    if (flashFd)
+    {
+        closeFile(&flashFd);
+        return true;
+    }
+
     return false;
 }