summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2012-07-17 18:10:58 +0200
committerGravatar Nikias Bassen2012-07-17 18:10:58 +0200
commit1234b219cfd75c85a37621bf1a5bc5b8b22eb708 (patch)
tree9b17818a397637defb47f12de37068abf9344bcc /src
parentdb8bfa2f93b2a5826558b260e88236ed68cbaf21 (diff)
downloadidevicerestore-1234b219cfd75c85a37621bf1a5bc5b8b22eb708.tar.gz
idevicerestore-1234b219cfd75c85a37621bf1a5bc5b8b22eb708.tar.bz2
dfu: Do not send another ZLP after sending iBEC as it breaks DFU mode switch
Diffstat (limited to 'src')
-rw-r--r--src/dfu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dfu.c b/src/dfu.c
index d692608..21c6366 100644
--- a/src/dfu.c
+++ b/src/dfu.c
@@ -178,7 +178,7 @@ int dfu_send_component(struct idevicerestore_client_t* client, plist_t build_ide
free(data);
data = newdata;
size += fillsize;
- flag = 2;
+ flag = 1;
}
info("Sending %s (%d bytes)...\n", component, size);