Don't use matchlvl attach arg. It seems to be not initialized
in FreeBSD probe mechanism.
This commit is contained in:
parent
e60fc88fa6
commit
42d69dd63e
@ -191,8 +191,11 @@ USB_MATCH(uhid)
|
||||
id = usbd_get_interface_descriptor(uaa->iface);
|
||||
if (id == NULL || id->bInterfaceClass != UICLASS_HID)
|
||||
return (UMATCH_NONE);
|
||||
#if 0
|
||||
if (uaa->matchlvl)
|
||||
return (uaa->matchlvl);
|
||||
#endif
|
||||
|
||||
return (UMATCH_IFACECLASS_GENERIC);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user