xusb: Print total length of configuration descriptor
Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
diff --git a/examples/xusb.c b/examples/xusb.c
index 45d2e35..5c65298 100644
--- a/examples/xusb.c
+++ b/examples/xusb.c
@@ -863,6 +863,7 @@
printf("\nReading first configuration descriptor:\n");
CALL_CHECK_CLOSE(libusb_get_config_descriptor(dev, 0, &conf_desc), handle);
+ printf(" total length: %d\n", conf_desc->wTotalLength);
printf(" descriptor length: %d\n", conf_desc->bLength);
nb_ifaces = conf_desc->bNumInterfaces;
printf(" nb interfaces: %d\n", nb_ifaces);
diff --git a/libusb/version_nano.h b/libusb/version_nano.h
index f526fcf..9a3d393 100644
--- a/libusb/version_nano.h
+++ b/libusb/version_nano.h
@@ -1 +1 @@
-#define LIBUSB_NANO 11665
+#define LIBUSB_NANO 11666