diff options
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/usb/uplcom.c | 4 |
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 |