diff options
author | 2024-03-09 10:52:57 +0100 | |
---|---|---|
committer | 2024-03-09 10:52:57 +0100 | |
commit | 03069529736d828ad73be2d0c67a6d6ac074775a (patch) | |
tree | 9912df9ff2b1f9e914de7f094c9a76f386814657 | |
parent | 33a4c112a4aa4c25bde15bba365dda8b7e2544d4 (diff) | |
download | libirecovery-03069529736d828ad73be2d0c67a6d6ac074775a.tar.gz libirecovery-03069529736d828ad73be2d0c67a6d6ac074775a.tar.bz2 |
Remove broken ecid check for KIS mode in iokit_open_with_ecid
-rw-r--r-- | src/libirecovery.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/libirecovery.c b/src/libirecovery.c index e7105de..29bffd0 100644 --- a/src/libirecovery.c +++ b/src/libirecovery.c | |||
@@ -1612,7 +1612,6 @@ static irecv_error_t iokit_open_with_ecid(irecv_client_t* pclient, uint64_t ecid | |||
1612 | pids = wtf_pids; | 1612 | pids = wtf_pids; |
1613 | ecid = 0; | 1613 | ecid = 0; |
1614 | } | 1614 | } |
1615 | |||
1616 | if (ecid > 0) { | 1615 | if (ecid > 0) { |
1617 | ecidString = CFStringCreateWithFormat(kCFAllocatorDefault, NULL, CFSTR("%llX"), ecid); | 1616 | ecidString = CFStringCreateWithFormat(kCFAllocatorDefault, NULL, CFSTR("%llX"), ecid); |
1618 | if (ecidString == NULL) { | 1617 | if (ecidString == NULL) { |
@@ -1644,12 +1643,6 @@ static irecv_error_t iokit_open_with_ecid(irecv_client_t* pclient, uint64_t ecid | |||
1644 | continue; | 1643 | continue; |
1645 | } | 1644 | } |
1646 | 1645 | ||
1647 | if ((*pclient)->device_info.ecid != ecid) { | ||
1648 | irecv_close(*pclient); | ||
1649 | *pclient = NULL; | ||
1650 | continue; | ||
1651 | } | ||
1652 | |||
1653 | if (ecidString) | 1646 | if (ecidString) |
1654 | CFRelease(ecidString); | 1647 | CFRelease(ecidString); |
1655 | 1648 | ||