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:
@@ -42,7 +42,7 @@ usb_serial_device_added(usb_device device, void **cookie)
|
|||||||
|
|
||||||
const usb_configuration_info *configuration;
|
const usb_configuration_info *configuration;
|
||||||
for (int i = 0; i < descriptor->num_configurations; i++) {
|
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)
|
if (!configuration)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user