diff options
author | Jonathan Beck | 2008-08-18 00:00:51 +0200 |
---|---|---|
committer | Jonathan Beck | 2008-08-21 19:15:38 +0200 |
commit | efe860d7c66c18ce9c53ecf36e2b24af1f501e74 (patch) | |
tree | b4b80bf40e68a1f567dfddde98327ec2c3f8c7e4 | |
parent | d5e52dbdfd46fd15e47e006590573902fcc3bbed (diff) | |
download | libimobiledevice-efe860d7c66c18ce9c53ecf36e2b24af1f501e74.tar.gz libimobiledevice-efe860d7c66c18ce9c53ecf36e2b24af1f501e74.tar.bz2 |
close usb device before reopening it.
-rw-r--r-- | src/iphone.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/iphone.c b/src/iphone.c index ecbb751..b796180 100644 --- a/src/iphone.c +++ b/src/iphone.c @@ -49,6 +49,7 @@ iPhone *get_iPhone() { usb_find_busses(); usb_find_devices(); busses = usb_get_busses(); + // Set the device configuration for (bus = busses; bus; bus = bus->next) { |