From 61831ded8b7775244ddd32683181aebf60ab6807 Mon Sep 17 00:00:00 2001 From: Martin Szulecki Date: Wed, 14 Jul 2010 04:06:44 +0200 Subject: Allow getting the ecid for any device model --- src/idevicerestore.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src') 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) { -- cgit v1.1-32-gdbae