summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/uhid.c
diff options
context:
space:
mode:
authorjoe <joe@FreeBSD.org>2002-01-02 18:28:45 +0000
committerjoe <joe@FreeBSD.org>2002-01-02 18:28:45 +0000
commitcff14677d4168b96a21fef5ec1f1a19ae1572eb2 (patch)
tree73a1b42d48a7391ee1d021784f4b2fe6d53da6e7 /sys/dev/usb/uhid.c
parentcec7ec547befb842623ced03b548a9157a372ecf (diff)
downloadFreeBSD-src-cff14677d4168b96a21fef5ec1f1a19ae1572eb2.zip
FreeBSD-src-cff14677d4168b96a21fef5ec1f1a19ae1572eb2.tar.gz
Sync with NetBSD:
date: 2000/02/29 21:37:01; author: augustss; state: Exp; Distinguish between device and interface classes. (I finally found a document that said that they were different.)
Diffstat (limited to 'sys/dev/usb/uhid.c')
-rw-r--r--sys/dev/usb/uhid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/usb/uhid.c b/sys/dev/usb/uhid.c
index 323a560..766098c 100644
--- a/sys/dev/usb/uhid.c
+++ b/sys/dev/usb/uhid.c
@@ -175,7 +175,7 @@ USB_MATCH(uhid)
if (uaa->iface == NULL)
return (UMATCH_NONE);
id = usbd_get_interface_descriptor(uaa->iface);
- if (id == NULL || id->bInterfaceClass != UCLASS_HID)
+ if (id == NULL || id->bInterfaceClass != UICLASS_HID)
return (UMATCH_NONE);
return (UMATCH_IFACECLASS_GENERIC);
}
OpenPOWER on IntegriCloud