summaryrefslogtreecommitdiff
path: root/sys/dev/usb
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2005-01-16 06:18:13 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2005-01-16 06:18:13 +0000
commit2df442dcf44b202537150b5fed58df6c531fafc9 (patch)
treecdc7705ac4fb593a88cce7ca0b7a16e7ec46d6d2 /sys/dev/usb
parent2c3df4c3c7b34574293caab08c184c1881bab6a4 (diff)
typo
Diffstat (limited to 'sys/dev/usb')
-rw-r--r--sys/dev/usb/uplcom.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/uplcom.c b/sys/dev/usb/uplcom.c
index 192cedc4f16..2aec05ef999 100644
--- a/sys/dev/usb/uplcom.c
+++ b/sys/dev/usb/uplcom.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uplcom.c,v 1.19 2005/01/16 05:56:55 dlg Exp $ */
+/* $OpenBSD: uplcom.c,v 1.20 2005/01/16 06:18:12 dlg Exp $ */
/* $NetBSD: uplcom.c,v 1.29 2002/09/23 05:51:23 simonb Exp $ */
/*
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -267,7 +267,7 @@ USB_ATTACH(uplcom)
* The Linux driver suggest this will only be true for the HX
* variants. The datasheets disagree.
*/
- if (ddesc->bMaxPacketSize = 0x40) {
+ if (ddesc->bMaxPacketSize == 0x40) {
DPRINTF(("%s: Assuming HX variant\n", USBDEVNAME(sc->sc_dev)));
sc->sc_type_hx = 1;
} else