diff options
| -rw-r--r-- | libirecovery.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libirecovery.c b/libirecovery.c index 6be2319..f92cc50 100644 --- a/libirecovery.c +++ b/libirecovery.c | |||
| @@ -1023,8 +1023,10 @@ irecv_error_t irecv_send_buffer(irecv_client_t client, unsigned char* buffer, un | |||
| 1023 | } | 1023 | } |
| 1024 | } | 1024 | } |
| 1025 | 1025 | ||
| 1026 | // we send a pseudo ZLP here just in case | 1026 | if (dfuNotifyFinished == 2) { |
| 1027 | irecv_control_transfer(client, 0x21, 1, 0, 0, 0, 0, USB_TIMEOUT); | 1027 | // we send a pseudo ZLP here just in case |
| 1028 | irecv_control_transfer(client, 0x21, 1, 0, 0, 0, 0, USB_TIMEOUT); | ||
| 1029 | } | ||
| 1028 | 1030 | ||
| 1029 | irecv_reset(client); | 1031 | irecv_reset(client); |
| 1030 | } | 1032 | } |
