summaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2009-06-19 14:34:16 +0200
committerGravatar Nikias Bassen2009-06-19 14:34:16 +0200
commitbb33ccdf06f261dca033d70772bc256c890c76f7 (patch)
treed5062ad9fbd39545f2cec59b0050e8d26339fbd6 /src/main.c
parent2417678145a801bd311f64e55a07378dab6f3ba0 (diff)
downloadusbmuxd-bb33ccdf06f261dca033d70772bc256c890c76f7.tar.gz
usbmuxd-bb33ccdf06f261dca033d70772bc256c890c76f7.tar.bz2
Add product ids to support iPhone 3GS
Signed-off-by: Nikias Bassen <nikias@gmx.li>
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index 1ee2480..1a62f17 100644
--- a/src/main.c
+++ b/src/main.c
@@ -662,7 +662,7 @@ static void *usbmuxd_client_init_thread(void *arg)
for (dev = bus->devices; dev; dev = dev->next) {
if (dev->descriptor.idVendor == 0x05ac
&& dev->descriptor.idProduct >= 0x1290
- && dev->descriptor.idProduct <= 0x1293) {
+ && dev->descriptor.idProduct <= 0x1294) {
if (verbose >= 1)
logmsg(LOG_NOTICE,
"%s[%x]: Found device on bus %s, id %s",
@@ -1072,7 +1072,7 @@ static int devices_attached()
for (dev = bus->devices; dev; dev = dev->next) {
if (dev->descriptor.idVendor == 0x05ac
&& dev->descriptor.idProduct >= 0x1290
- && dev->descriptor.idProduct <= 0x1293) {
+ && dev->descriptor.idProduct <= 0x1294) {
res++;
}
}