Skip to content
  • Bastien Nocera's avatar
    lib: Fix overwriting action after deactivating callback · 19732341
    Bastien Nocera authored
    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"
    action.
    
    Reset the action before calling the callbacks.
    19732341