summaryrefslogtreecommitdiffstats
path: root/src/iphone.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/iphone.c')
-rw-r--r--src/iphone.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/iphone.c b/src/iphone.c
index a0b00d6..81d6870 100644
--- a/src/iphone.c
+++ b/src/iphone.c
@@ -61,7 +61,8 @@ iphone_error_t iphone_get_device(iphone_device_t * device)
61 for (dev = bus->devices; dev; dev = dev->next) { 61 for (dev = bus->devices; dev; dev = dev->next) {
62 if (dev->descriptor.idVendor == 0x05ac && 62 if (dev->descriptor.idVendor == 0x05ac &&
63 (dev->descriptor.idProduct == 0x1290 || 63 (dev->descriptor.idProduct == 0x1290 ||
64 dev->descriptor.idProduct == 0x1291 || dev->descriptor.idProduct == 0x1292 || dev->descriptor.idProduct == 0x1293) 64 dev->descriptor.idProduct == 0x1291 || dev->descriptor.idProduct == 0x1292
65 || dev->descriptor.idProduct == 0x1293)
65 ) { 66 ) {
66 phone->__device = dev; 67 phone->__device = dev;
67 phone->device = usb_open(phone->__device); 68 phone->device = usb_open(phone->__device);