Commit 19732341 authored by Bastien Nocera's avatar Bastien Nocera

lib: Fix overwriting action after deactivating callback

If one of the callbacks called from fpi_imgdev_deactivate_complete()
was reactivating the device, then we would be overwriting whichever
"action" got set in the callback, leading to
fpi_imgdev_activate_complete() failing as it doesn't handle the "none"

Reset the action before calling the callbacks.
parent 0e44eb4c
Pipeline #54781 passed with stages
in 3 minutes and 7 seconds