summaryrefslogtreecommitdiff
path: root/sys/dev/usb/serial/uipaq.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/usb/serial/uipaq.c')
-rw-r--r--sys/dev/usb/serial/uipaq.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/dev/usb/serial/uipaq.c b/sys/dev/usb/serial/uipaq.c
index 79fe21e5c2c4..89a4cd254ab4 100644
--- a/sys/dev/usb/serial/uipaq.c
+++ b/sys/dev/usb/serial/uipaq.c
@@ -1103,6 +1103,10 @@ uipaq_probe(device_t dev)
if (uaa->info.bIfaceIndex != UIPAQ_IFACE_INDEX) {
return (ENXIO);
}
+ if (uaa->info.bInterfaceClass == UICLASS_IAD) {
+ DPRINTF("IAD detected - not UIPAQ serial device\n");
+ return (ENXIO);
+ }
return (usbd_lookup_id_by_uaa(uipaq_devs, sizeof(uipaq_devs), uaa));
}