Skip to content

Commit 57e89a4

Browse files
committed
Improve success rate
1 parent 14ba8fc commit 57e89a4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/checkra1n_t8010_t8015.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,7 @@ int checkra1n_t8010_t8015(io_client_t client, uint16_t cpid, checkra1n_payload_t
211211
heap_occupation(client, cpid, payload);
212212

213213
LOG_PROGRESS("[%s] reconnecting", __FUNCTION__);
214+
result = io_reenumerate(client);
214215
io_close(client);
215216
client = NULL;
216217
usleep(10000);
@@ -221,11 +222,13 @@ int checkra1n_t8010_t8015(io_client_t client, uint16_t cpid, checkra1n_payload_t
221222
}
222223

223224
LOG_PROGRESS("[%s] sending stage2 payload", __FUNCTION__);
225+
usleep(10000);
224226
r = payload_stage2(client, cpid, payload);
225227
if(r != 0){
226228
return -1;
227229
}
228230

231+
usleep(10000);
229232
r = connect_to_stage2(client, cpid, payload);
230233
if(r != 0){
231234
return -1;

0 commit comments

Comments
 (0)