summaryrefslogtreecommitdiff
path: root/sys/dev/usb/usbf_subr.c
diff options
context:
space:
mode:
authorDale Rahn <drahn@cvs.openbsd.org>2007-02-13 18:32:58 +0000
committerDale Rahn <drahn@cvs.openbsd.org>2007-02-13 18:32:58 +0000
commitd11a73972d840513bd5e9b38f0f7c21aea43b81c (patch)
treeb1c2d58042cbc8169c116ae90feca07a6e0fe35e /sys/dev/usb/usbf_subr.c
parent203287ccbb0e74abe77aba0e7e6d3e80928632c9 (diff)
USB client mode with cdce function driver is coming along, RX and TX kinda work.
Limitations include failing to recieve packets that are a multiple of 64 bytes and sending packets longer than 128 bytes appears to be messed up. Work in progress.
Diffstat (limited to 'sys/dev/usb/usbf_subr.c')
-rw-r--r--sys/dev/usb/usbf_subr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/usbf_subr.c b/sys/dev/usb/usbf_subr.c
index ffedaf5ed29..80e304fcb39 100644
--- a/sys/dev/usb/usbf_subr.c
+++ b/sys/dev/usb/usbf_subr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: usbf_subr.c,v 1.2 2007/02/07 16:26:49 drahn Exp $ */
+/* $OpenBSD: usbf_subr.c,v 1.3 2007/02/13 18:32:57 drahn Exp $ */
/*
* Copyright (c) 2006 Uwe Stuehler <uwe@openbsd.org>
@@ -58,7 +58,7 @@ usbf_errstr(usbf_status err)
{
static char buffer[5];
- if (err < USBD_ERROR_MAX)
+ if (err < USBF_ERROR_MAX)
return usbf_error_strs[err];
snprintf(buffer, sizeof buffer, "%d", err);