diff options
| author | 2009-04-10 14:07:09 +0200 | |
|---|---|---|
| committer | 2009-04-10 14:07:09 +0200 | |
| commit | 780cc38dde3dda7aeccc1d9043669f3493d79ccf (patch) | |
| tree | a9d41d8fdec994032fb1c8a13decfac8bde7d407 | |
| parent | 77c3fb13d54e892b63b7f037a19262ef18ca7f64 (diff) | |
| download | usbmuxd-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
| -rw-r--r-- | iphone.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -215,12 +215,12 @@ static iphone_error_t iphone_config_usb_device(iphone_device_t phone) | |||
| 215 | int bytes; | 215 | int bytes; |
| 216 | char buf[512]; | 216 | char buf[512]; |
| 217 | 217 | ||
| 218 | #if 0 | ||
| 218 | log_debug_msg("checking configuration...\n"); | 219 | log_debug_msg("checking configuration...\n"); |
| 219 | if (phone->__device->config->bConfigurationValue != 3) { | 220 | if (phone->__device->config->bConfigurationValue != 3) { |
| 220 | log_debug_msg("WARNING: usb device configuration is not 3 as expected!\n"); | 221 | log_debug_msg("WARNING: usb device configuration is not 3 as expected!\n"); |
| 221 | } | 222 | } |
| 222 | 223 | ||
| 223 | #if 0 | ||
| 224 | log_debug_msg("setting configuration...\n"); | 224 | log_debug_msg("setting configuration...\n"); |
| 225 | ret = usb_set_configuration(phone->device, 3); | 225 | ret = usb_set_configuration(phone->device, 3); |
| 226 | if (ret != 0) { | 226 | if (ret != 0) { |
