summaryrefslogtreecommitdiffstats
path: root/libirecovery.c
diff options
context:
space:
mode:
authorGravatar Nicolas Haunold2011-02-09 00:53:25 +0100
committerGravatar Nicolas Haunold2011-02-09 00:53:25 +0100
commite4762be790b53dbd9ed679233584b8ee14d7c36f (patch)
treef13ca5fe1a9bdfcc6aef9e4254f43a71bc769ca0 /libirecovery.c
parent6f2649ddf5beb714d08212aae64a2f8907c9a1c6 (diff)
downloadlibirecovery-e4762be790b53dbd9ed679233584b8ee14d7c36f.tar.gz
libirecovery-e4762be790b53dbd9ed679233584b8ee14d7c36f.tar.bz2
Verizon iPhone support
Diffstat (limited to 'libirecovery.c')
-rw-r--r--libirecovery.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/libirecovery.c b/libirecovery.c
index c186f41..a323386 100644
--- a/libirecovery.c
+++ b/libirecovery.c
@@ -1151,7 +1151,7 @@ irecv_error_t irecv_get_device(irecv_client_t client, irecv_device_t* device) {
break;
case CPID_IPAD1G:
- // iPhone3,1 iPad4,1 and iPad1,1 all share the same ChipID
+ // iPhone3,1 iPhone3,3 iPad4,1 and iPad1,1 all share the same ChipID
// so we need to check the BoardID
if (irecv_get_bdid(client, &bdid) < 0) {
break;
@@ -1174,6 +1174,10 @@ irecv_error_t irecv_get_device(irecv_client_t client, irecv_device_t* device) {
device_id = DEVICE_APPLETV2;
break;
+ case BDID_IPHONE42:
+ device_id = DEVICE_IPHONE42;
+ break;
+
default:
device_id = DEVICE_UNKNOWN;
break;