diff options
author | Daniel Drake <dsd@gentoo.org> | 2008-05-10 14:42:43 +0100 |
---|---|---|
committer | Daniel Drake <dsd@gentoo.org> | 2008-05-10 15:36:29 +0100 |
commit | c3844f7aeb2176636ce6e6ef697659fdb0b30048 (patch) | |
tree | 8b5f0a9f1d3f07a0de8289f146422cb0e0e01ec8 /libusb/core.c | |
parent | d77052c0d630e33737c38d601fd633155f6b2229 (diff) | |
download | libusb-c3844f7aeb2176636ce6e6ef697659fdb0b30048.tar.gz |
Fetch configurations by index (not value)
Otherwise there is no way to know which values to look for.
Diffstat (limited to 'libusb/core.c')
-rw-r--r-- | libusb/core.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libusb/core.c b/libusb/core.c index 43491ad..d94d7b8 100644 --- a/libusb/core.c +++ b/libusb/core.c @@ -325,6 +325,7 @@ int usbi_sanitize_device(struct libusb_device *dev) return LIBUSB_ERROR_IO; } + dev->num_configurations = num_configurations; return 0; } |