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:
marian 2016-04-13 07:02:40 +00:00
parent 3fb71dcdc9
commit 4c8b78b1b1
1 changed files with 4 additions and 1 deletions

View File

@ -5398,7 +5398,10 @@ unsigned int BrfLibUsbDevice::openDevice(bool claim, String* error)
failedDesc++;
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];
}
if (!m_dev) {