Additional check for Nuand's vendor and product when choosing a device to open.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6108 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
parent
3fb71dcdc9
commit
4c8b78b1b1
|
@ -5398,7 +5398,10 @@ unsigned int BrfLibUsbDevice::openDevice(bool claim, String* error)
|
||||||
failedDesc++;
|
failedDesc++;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (desc.idVendor == 7504 && desc.idProduct == 24678)
|
// OpenMoko 0x1d50 Product=0x6066
|
||||||
|
// Nuand 0x2cf0 Product=0x5246
|
||||||
|
if ((desc.idVendor == 0x1d50 && desc.idProduct == 0x6066) ||
|
||||||
|
(desc.idVendor == 0x2cf0 && desc.idProduct == 0x5246))
|
||||||
m_dev = m_list[i];
|
m_dev = m_list[i];
|
||||||
}
|
}
|
||||||
if (!m_dev) {
|
if (!m_dev) {
|
||||||
|
|
Loading…
Reference in New Issue