From c9e1ee4871729990edd06e8df7d7745544345408 Mon Sep 17 00:00:00 2001 From: hselasky Date: Thu, 7 Apr 2016 07:19:30 +0000 Subject: [PATCH] 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. git-svn-id: svn://svn.freebsd.org/base/stable/8@297644 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f --- sys/dev/usb/quirk/usb_quirk.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sys/dev/usb/quirk/usb_quirk.c b/sys/dev/usb/quirk/usb_quirk.c index 851ba88ed..eddf87ad1 100644 --- a/sys/dev/usb/quirk/usb_quirk.c +++ b/sys/dev/usb/quirk/usb_quirk.c @@ -613,8 +613,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: -- 2.42.0