diff options
author | Nikias Bassen | 2014-02-11 04:14:52 +0100 |
---|---|---|
committer | Nikias Bassen | 2014-02-11 04:14:52 +0100 |
commit | 454541a3c9c7e6799713639213ecf0c93d2ef224 (patch) | |
tree | 69e7a069d883e719dd92cfece7149618338ec479 | |
parent | 88abfff8709304b207c9bc00847f3674cff2c5ca (diff) | |
download | idevicerestore-454541a3c9c7e6799713639213ecf0c93d2ef224.tar.gz idevicerestore-454541a3c9c7e6799713639213ecf0c93d2ef224.tar.bz2 |
dfu: fix DFU->Recovery mode switch for iOS 7.x
-rw-r--r-- | src/dfu.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -196,7 +196,7 @@ int dfu_send_component(struct idevicerestore_client_t* client, plist_t build_ide free(component_data); component_data = NULL; - if (!client->image4supported && !(client->flags & FLAG_CUSTOM) && (strcmp(component, "iBEC") == 0)) { + if ((client->build_major > 8) && (client->build_major < 11) && !(client->flags & FLAG_CUSTOM) && (strcmp(component, "iBEC") == 0)) { unsigned char* ticket = NULL; unsigned int tsize = 0; if (tss_response_get_ap_ticket(client->tss, &ticket, &tsize) < 0) { |