MFC r296342:

Allow for overlapping quirk device ranges. Prior to this patch only
the first device entry matching the USB vendor, product and revision
would be searched for quirks. After this patch all device entries will
be searched for quirks.
This commit is contained in:
hselasky 2016-04-07 07:17:23 +00:00
parent 58bfc3556c
commit d0a1b2369f

View File

@ -682,8 +682,6 @@ usb_test_quirk_by_info(const struct usbd_lookup_info *info, uint16_t quirk)
return (1);
}
}
/* no quirk found */
break;
}
mtx_unlock(&usb_quirk_mtx);
done: