Skip to content

Commit

Permalink
win32: Skip ecid check for KIS mode device in win32_open_with_ecid
Browse files Browse the repository at this point in the history
  • Loading branch information
nikias committed Mar 11, 2024
1 parent 0306952 commit b55d215
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libirecovery.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit b55d215

Please sign in to comment.