Fix ZETA build, USBKit doesn't have the AltInterface stuff.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29288 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
b824d54c1a
commit
d29cb41521
@ -640,6 +640,7 @@ CamDeviceAddon::Sniff(BUSBDevice *device)
|
|||||||
supported = true;
|
supported = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef __HAIKU__
|
||||||
// we have to check all interfaces for matching class/subclass/protocol
|
// we have to check all interfaces for matching class/subclass/protocol
|
||||||
for (uint32 j = 0; !supported && j < device->CountConfigurations(); j++) {
|
for (uint32 j = 0; !supported && j < device->CountConfigurations(); j++) {
|
||||||
const BUSBConfiguration* cfg = device->ConfigurationAt(j);
|
const BUSBConfiguration* cfg = device->ConfigurationAt(j);
|
||||||
@ -658,6 +659,7 @@ CamDeviceAddon::Sniff(BUSBDevice *device)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
if (supported)
|
if (supported)
|
||||||
return i;
|
return i;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user