Actually check *distinct* configurations. Checking always the first one several times wont make it works

better :-)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40105 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Philippe Houdoin
2011-01-04 07:37:29 +00:00
parent fc74a4ff91
commit 1a698b259b
@@ -42,7 +42,7 @@ usb_serial_device_added(usb_device device, void **cookie)
const usb_configuration_info *configuration;
for (int i = 0; i < descriptor->num_configurations; i++) {
configuration = gUSBModule->get_nth_configuration(device, 0);
configuration = gUSBModule->get_nth_configuration(device, i);
if (!configuration)
continue;