Skip to content

Commit b55d215

Browse files
committed
win32: Skip ecid check for KIS mode device in win32_open_with_ecid
1 parent 0306952 commit b55d215

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libirecovery.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1256,7 +1256,7 @@ static irecv_error_t win32_open_with_ecid(irecv_client_t* client, uint64_t ecid)
12561256
irecv_load_device_info_from_iboot_string(_client, serial_str);
12571257
}
12581258

1259-
if (ecid != 0) {
1259+
if (ecid != 0 && _client->mode != KIS_PRODUCT_ID) {
12601260
if (_client->device_info.ecid != ecid) {
12611261
CloseHandle(_client->handle);
12621262
continue;

0 commit comments

Comments
 (0)