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:
François Revol 2009-02-22 15:27:39 +00:00
parent b824d54c1a
commit d29cb41521

View File

@ -640,6 +640,7 @@ CamDeviceAddon::Sniff(BUSBDevice *device)
supported = true;
}
#ifdef __HAIKU__
// we have to check all interfaces for matching class/subclass/protocol
for (uint32 j = 0; !supported && j < device->CountConfigurations(); j++) {
const BUSBConfiguration* cfg = device->ConfigurationAt(j);
@ -658,6 +659,7 @@ CamDeviceAddon::Sniff(BUSBDevice *device)
}
}
}
#endif
if (supported)
return i;