diff options
| -rw-r--r-- | src/libirecovery.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/libirecovery.c b/src/libirecovery.c index be0024f..0c42162 100644 --- a/src/libirecovery.c +++ b/src/libirecovery.c | |||
| @@ -1585,10 +1585,6 @@ irecv_error_t irecv_devices_get_device_by_client(irecv_client_t client, irecv_de | |||
| 1585 | return IRECV_E_UNKNOWN_ERROR; | 1585 | return IRECV_E_UNKNOWN_ERROR; |
| 1586 | } | 1586 | } |
| 1587 | 1587 | ||
| 1588 | if (client->device_info.bdid == 0) { | ||
| 1589 | return IRECV_E_UNKNOWN_ERROR; | ||
| 1590 | } | ||
| 1591 | |||
| 1592 | for (i = 0; irecv_devices[i].hardware_model != NULL; i++) { | 1588 | for (i = 0; irecv_devices[i].hardware_model != NULL; i++) { |
| 1593 | if (irecv_devices[i].chip_id == client->device_info.cpid && irecv_devices[i].board_id == client->device_info.bdid) { | 1589 | if (irecv_devices[i].chip_id == client->device_info.cpid && irecv_devices[i].board_id == client->device_info.bdid) { |
| 1594 | *device = &irecv_devices[i]; | 1590 | *device = &irecv_devices[i]; |
