Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/usb Use the right buffer in immediate mode.



details:   https://anonhg.NetBSD.org/src/rev/20fe56db7c48
branches:  trunk
changeset: 472114:20fe56db7c48
user:      augustss <augustss%NetBSD.org@localhost>
date:      Wed Apr 21 19:02:26 1999 +0000

description:
Use the right buffer in immediate mode.

diffstat:

 sys/dev/usb/uhid.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 16a5295eacdf -r 20fe56db7c48 sys/dev/usb/uhid.c
--- a/sys/dev/usb/uhid.c        Wed Apr 21 18:42:03 1999 +0000
+++ b/sys/dev/usb/uhid.c        Wed Apr 21 19:02:26 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: uhid.c,v 1.15 1999/01/10 11:13:36 augustss Exp $       */
+/*     $NetBSD: uhid.c,v 1.16 1999/04/21 19:02:26 augustss Exp $       */
 
 /*
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -358,7 +358,7 @@
                DPRINTFN(1, ("uhidread immed\n"));
                
                r = usbd_get_report(sc->sc_iface, UHID_INPUT_REPORT,
-                                   sc->sc_iid, sc->sc_ibuf, sc->sc_isize);
+                                   sc->sc_iid, buffer, sc->sc_isize);
                if (r != USBD_NORMAL_COMPLETION)
                        return (EIO);
                return (uiomove(buffer, sc->sc_isize, uio));



Home | Main Index | Thread Index | Old Index