Skip to content

Commit 0306952

Browse files
committed
Remove broken ecid check for KIS mode in iokit_open_with_ecid
1 parent 33a4c11 commit 0306952

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

src/libirecovery.c

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1612,7 +1612,6 @@ static irecv_error_t iokit_open_with_ecid(irecv_client_t* pclient, uint64_t ecid
16121612
pids = wtf_pids;
16131613
ecid = 0;
16141614
}
1615-
16161615
if (ecid > 0) {
16171616
ecidString = CFStringCreateWithFormat(kCFAllocatorDefault, NULL, CFSTR("%llX"), ecid);
16181617
if (ecidString == NULL) {
@@ -1644,12 +1643,6 @@ static irecv_error_t iokit_open_with_ecid(irecv_client_t* pclient, uint64_t ecid
16441643
continue;
16451644
}
16461645

1647-
if ((*pclient)->device_info.ecid != ecid) {
1648-
irecv_close(*pclient);
1649-
*pclient = NULL;
1650-
continue;
1651-
}
1652-
16531646
if (ecidString)
16541647
CFRelease(ecidString);
16551648

0 commit comments

Comments
 (0)