diff options
author | Nikias Bassen | 2013-11-19 21:18:25 +0100 |
---|---|---|
committer | Nikias Bassen | 2013-11-19 21:18:25 +0100 |
commit | 4aafe03b5a3ca491ff9c75b194ae812f7e4c5224 (patch) | |
tree | 3a5885d24350fe7e516a502dc6b2e6329e68a16d /src | |
parent | 7e0327b9ce359064953168deffc8f96273357437 (diff) | |
download | libirecovery-4aafe03b5a3ca491ff9c75b194ae812f7e4c5224.tar.gz libirecovery-4aafe03b5a3ca491ff9c75b194ae812f7e4c5224.tar.bz2 |
remove check for bdid == 0 since it CAN be 0
Diffstat (limited to 'src')
-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 return IRECV_E_UNKNOWN_ERROR; } - if (client->device_info.bdid == 0) { - return IRECV_E_UNKNOWN_ERROR; - } - for (i = 0; irecv_devices[i].hardware_model != NULL; i++) { if (irecv_devices[i].chip_id == client->device_info.cpid && irecv_devices[i].board_id == client->device_info.bdid) { *device = &irecv_devices[i]; |