summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2011-11-03 01:42:14 +0100
committerGravatar Nikias Bassen2011-11-03 01:42:14 +0100
commitbd7728153d4606c8271d152c6f08143bdd1c505e (patch)
tree028e51cacaaa78e3f7f364c6095e5c45a25e10dc
parent2bf1612a50f375d1a08408e3d84eb20e8dd39276 (diff)
downloadlibirecovery-bd7728153d4606c8271d152c6f08143bdd1c505e.tar.gz
libirecovery-bd7728153d4606c8271d152c6f08143bdd1c505e.tar.bz2
Increase packet size. iTunes uses 32k too.
-rw-r--r--libirecovery.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libirecovery.c b/libirecovery.c
index 540e01c..614b81d 100644
--- a/libirecovery.c
+++ b/libirecovery.c
@@ -678,7 +678,7 @@ irecv_error_t irecv_send_buffer(irecv_client_t client, unsigned char* buffer, un
int recovery_mode = (client->mode != kDfuMode);
if (check_context(client) != IRECV_E_SUCCESS) return IRECV_E_NO_DEVICE;
- int packet_size = 0x800;
+ int packet_size = 32768;
int last = length % packet_size;
int packets = length / packet_size;
if (last != 0) {