diff options
author | Martin Szulecki | 2010-07-14 04:06:44 +0200 |
---|---|---|
committer | Martin Szulecki | 2010-07-14 04:06:44 +0200 |
commit | 61831ded8b7775244ddd32683181aebf60ab6807 (patch) | |
tree | 96a4a2f788136c0d26bb179f5846c0e61de22290 | |
parent | afb36f37770e1b429fcd227904cff6235ee90b5f (diff) | |
download | idevicerestore-61831ded8b7775244ddd32683181aebf60ab6807.tar.gz idevicerestore-61831ded8b7775244ddd32683181aebf60ab6807.tar.bz2 |
Allow getting the ecid for any device model
-rw-r--r-- | src/idevicerestore.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/idevicerestore.c b/src/idevicerestore.c index 00c35c1..93623bc 100644 --- a/src/idevicerestore.c +++ b/src/idevicerestore.c @@ -432,11 +432,6 @@ int get_cpid(struct idevicerestore_client_t* client, uint32_t* cpid) { } int get_ecid(struct idevicerestore_client_t* client, uint64_t* ecid) { - if(client->device->index <= DEVICE_IPOD2G) { - *ecid = 0; - return 0; - } - switch (client->mode->index) { case MODE_NORMAL: if (normal_get_ecid(client->uuid, ecid) < 0) { |