- debug(ctx, "libusb configuration changed\n");
- debug(ctx, "Cannot claim interface %hhu\n",
- (*dev)->desc->interface_number);
+ debug(ctx, "libusb configuration changed (expected: %hhu, current: %hhu\n",
+ (*dev)->desc->configuration, current_configuration);
+ ret = -EINVAL;