summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2026-10-05 16:40:45 +0200
committerGravatar Nikias Bassen2026-10-05 16:40:45 +0200
commit4b3e847e1d9a1210049a9e3f1d1caa38650c6617 (patch)
tree435fa30e9e49edcb80fce607244e0c44493b3723
parent68e5dc907efcbca70747f9ce2cc5975f8ae8b72d (diff)
downloadidevicerestore-4b3e847e1d9a1210049a9e3f1d1caa38650c6617.tar.gz
idevicerestore-4b3e847e1d9a1210049a9e3f1d1caa38650c6617.tar.bz2
restore: Fix commit 68e5dc90 by correctly calling the generic fw handler for YonkersIR1HEADmaster
-rw-r--r--src/restore.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/restore.c b/src/restore.c
index a78783d..04bc7ab 100644
--- a/src/restore.c
+++ b/src/restore.c
@@ -3779,13 +3779,16 @@ static int restore_send_firmware_updater_data(struct idevicerestore_client_t* cl
const char *fwtype = "Savage";
plist_t p_info_yonkers = plist_dict_get_item(p_info, "YonkersDeviceInfo");
plist_t p_info_jasmine = plist_dict_get_item(p_info, "JasmineIR1DeviceInfo");
- plist_t p_info_yonkers_ir1 = plist_dict_get_item(p_info, "YonkersIR1,DeviceInfo");
- if (PLIST_IS_DICT(p_info_yonkers) || PLIST_IS_DICT(p_info_yonkers_ir1)) {
+ plist_t p_info_yonkers_ir1 = plist_dict_get_item(p_info, "YonkersIR1,DeviceInfo");
+ if (PLIST_IS_DICT(p_info_yonkers)) {
fwtype = "Yonkers";
fwdict = restore_get_yonkers_firmware_data(client, p_info_yonkers, arguments);
} else if (PLIST_IS_DICT(p_info_jasmine)) {
fwtype = "Jasmine";
fwdict = restore_get_generic_firmware_data(client, p_info_jasmine, arguments);
+ } else if (PLIST_IS_DICT(p_info_yonkers_ir1)) {
+ fwtype = "Yonkers";
+ fwdict = restore_get_generic_firmware_data(client, p_info_yonkers_ir1, arguments);
} else {
fwdict = restore_get_savage_firmware_data(client, p_info, arguments);
}