summaryrefslogtreecommitdiffstats
path: root/src/libirecovery.c
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2024-03-11 15:20:02 +0100
committerGravatar Nikias Bassen2024-03-11 15:20:02 +0100
commitb55d215c25fd415b49430dc3c8423dde7d8f12aa (patch)
tree7983a9769adc906294dcb89f0e08a9b1c26da7e9 /src/libirecovery.c
parent03069529736d828ad73be2d0c67a6d6ac074775a (diff)
downloadlibirecovery-b55d215c25fd415b49430dc3c8423dde7d8f12aa.tar.gz
libirecovery-b55d215c25fd415b49430dc3c8423dde7d8f12aa.tar.bz2
win32: Skip ecid check for KIS mode device in win32_open_with_ecid
Diffstat (limited to 'src/libirecovery.c')
-rw-r--r--src/libirecovery.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libirecovery.c b/src/libirecovery.c
index 29bffd0..7d6c46c 100644
--- a/src/libirecovery.c
+++ b/src/libirecovery.c
@@ -1256,7 +1256,7 @@ static irecv_error_t win32_open_with_ecid(irecv_client_t* client, uint64_t ecid)
irecv_load_device_info_from_iboot_string(_client, serial_str);
}
- if (ecid != 0) {
+ if (ecid != 0 && _client->mode != KIS_PRODUCT_ID) {
if (_client->device_info.ecid != ecid) {
CloseHandle(_client->handle);
continue;