else
sysattr = NULL;
+ DBG("%s", syspath);
DBG("%s", devpath);
DBG("%s (%s) %s [%s] ==> %s %s", devnode, driver,
interface, number, label, sysattr);
driver = vendor_list[i].driver;
vendor = vid;
model = pid;
- break;
+ continue;
}
if (vid == NULL || pid == NULL)
if (g_str_equal(vendor_list[i].vid, vid) == TRUE) {
if (vendor_list[i].pid == NULL) {
- if (driver == NULL) {
- driver = vendor_list[i].driver;
- vendor = vid;
- model = pid;
- }
+ driver = vendor_list[i].driver;
+ vendor = vid;
+ model = pid;
continue;
}