diff options
Diffstat (limited to 'src/recovery.c')
-rw-r--r-- | src/recovery.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/recovery.c b/src/recovery.c index 5e1c4c2..2127398 100644 --- a/src/recovery.c +++ b/src/recovery.c @@ -407,6 +407,8 @@ int recovery_send_kernelcache(struct idevicerestore_client_t* client, plist_t bu return -1; } + irecv_control_transfer(client->recovery->client, 0x21, 1, 0, 0, 0, 0, 5000); + if (client->restore_boot_args) { char setba[256]; strcpy(setba, "setenv boot-args "); @@ -420,8 +422,6 @@ int recovery_send_kernelcache(struct idevicerestore_client_t* client, plist_t bu return -1; } - irecv_control_transfer(client->recovery->client, 0x21, 1, 0, 0, 0, 0, 5000); - return 0; } |