Skip to content

Commit

Permalink
restore: Add Ace3 as known updater name to suppress error message
Browse files Browse the repository at this point in the history
  • Loading branch information
nikias committed Oct 6, 2023
1 parent 523e567 commit f17f520
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/restore.c
Original file line number Diff line number Diff line change
Expand Up @@ -3200,6 +3200,12 @@ static int restore_send_firmware_updater_data(restored_client_t restore, struct
error("ERROR: %s: Couldn't get %s firmware data\n", __func__, s_updater_name);
goto error_out;
}
} else if (strcmp(s_updater_name, "Ace3") == 0) {
fwdict = restore_get_generic_firmware_data(restore, client, build_identity, p_info, arguments);
if (fwdict == NULL) {
error("ERROR: %s: Couldn't get %s firmware data\n", __func__, s_updater_name);
goto error_out;
}
} else {
error("ERROR: %s: Got unknown updater name '%s', trying to discover from device generated request.\n", __func__, s_updater_name);
fwdict = restore_get_generic_firmware_data(restore, client, build_identity, p_info, arguments);
Expand Down

0 comments on commit f17f520

Please sign in to comment.