Permalink
Browse files

Increase packet size. iTunes uses 32k too.

  • Loading branch information...
nikias committed Nov 3, 2011
1 parent 2bf1612 commit bd7728153d4606c8271d152c6f08143bdd1c505e
Showing with 1 addition and 1 deletion.
  1. +1 −1 libirecovery.c
View
@@ -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) {

0 comments on commit bd77281

Please sign in to comment.