summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2010-07-14 04:06:44 +0200
committerGravatar Martin Szulecki2010-07-14 04:06:44 +0200
commit61831ded8b7775244ddd32683181aebf60ab6807 (patch)
tree96a4a2f788136c0d26bb179f5846c0e61de22290 /src
parentafb36f37770e1b429fcd227904cff6235ee90b5f (diff)
downloadidevicerestore-61831ded8b7775244ddd32683181aebf60ab6807.tar.gz
idevicerestore-61831ded8b7775244ddd32683181aebf60ab6807.tar.bz2
Allow getting the ecid for any device model
Diffstat (limited to 'src')
-rw-r--r--src/idevicerestore.c5
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) {