From 780cc38dde3dda7aeccc1d9043669f3493d79ccf Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Fri, 10 Apr 2009 14:07:09 +0200 Subject: suppressed warning about wrong configuration value. libusb does not seem to know about the change that was made via the udev rule/sysfs change --- iphone.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'iphone.c') 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) { -- cgit v1.1-32-gdbae