summaryrefslogtreecommitdiffstats
path: root/iphone.c
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2009-04-10 14:07:09 +0200
committerGravatar Nikias Bassen2009-04-10 14:07:09 +0200
commit780cc38dde3dda7aeccc1d9043669f3493d79ccf (patch)
treea9d41d8fdec994032fb1c8a13decfac8bde7d407 /iphone.c
parent77c3fb13d54e892b63b7f037a19262ef18ca7f64 (diff)
downloadusbmuxd-780cc38dde3dda7aeccc1d9043669f3493d79ccf.tar.gz
usbmuxd-780cc38dde3dda7aeccc1d9043669f3493d79ccf.tar.bz2
suppressed warning about wrong configuration value.
libusb does not seem to know about the change that was made via the udev rule/sysfs change
Diffstat (limited to 'iphone.c')
-rw-r--r--iphone.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/iphone.c b/iphone.c
index 060bba2..ad9dafd 100644
--- a/iphone.c
+++ b/iphone.c
@@ -215,12 +215,12 @@ static iphone_error_t iphone_config_usb_device(iphone_device_t phone)
int bytes;
char buf[512];
+#if 0
log_debug_msg("checking configuration...\n");
if (phone->__device->config->bConfigurationValue != 3) {
log_debug_msg("WARNING: usb device configuration is not 3 as expected!\n");
}
-#if 0
log_debug_msg("setting configuration...\n");
ret = usb_set_configuration(phone->device, 3);
if (ret != 0) {