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.

MFC after:	1 week
This commit is contained in:
Hans Petter Selasky 2016-03-03 08:47:27 +00:00
parent 64778f377f
commit 24fe42dcdd
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=296342

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: