summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/ugold.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/usb/ugold.c')
-rw-r--r--sys/dev/usb/ugold.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/usb/ugold.c b/sys/dev/usb/ugold.c
index e37d2ee157e..ad688c9d688 100644
--- a/sys/dev/usb/ugold.c
+++ b/sys/dev/usb/ugold.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ugold.c,v 1.3 2013/11/04 11:51:33 mpi Exp $ */
+/* $OpenBSD: ugold.c,v 1.4 2014/03/19 08:59:37 mpi Exp $ */
/*
* Copyright (c) 2013 Takayoshi SASANO <sasano@openbsd.org>
@@ -102,6 +102,9 @@ ugold_match(struct device *parent, void *match, void *aux)
int size;
void *desc;
+ if (uha->reportid == UHIDEV_CLAIM_ALLREPORTID)
+ return (UMATCH_NONE);
+
if (usb_lookup(ugold_devs, uha->uaa->vendor, uha->uaa->product) == NULL)
return (UMATCH_NONE);