From 208dad78d1d1c2da6beaf06a62dc0ad656ec3f7f Mon Sep 17 00:00:00 2001 From: augustss Date: Mon, 2 Aug 1999 23:35:55 +0000 Subject: [PATCH] Get data toggle right for short bulk transfers. (XXX This code needs to be rewritten.) --- sys/dev/usb/uhci.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/dev/usb/uhci.c b/sys/dev/usb/uhci.c index 25df5dee3537..9d93e7fb4b9b 100644 --- a/sys/dev/usb/uhci.c +++ b/sys/dev/usb/uhci.c @@ -1,4 +1,4 @@ -/* $NetBSD: uhci.c,v 1.33 1999/08/02 19:30:34 augustss Exp $ */ +/* $NetBSD: uhci.c,v 1.34 1999/08/02 23:35:55 augustss Exp $ */ /* * Copyright (c) 1998 The NetBSD Foundation, Inc. @@ -814,8 +814,8 @@ uhci_check_intr(sc, ii) done: usb_untimeout(uhci_timeout, ii, ii->timeout_handle); upipe = (struct uhci_pipe *)ii->reqh->pipe; - upipe->pipe.endpoint->toggle = upipe->nexttoggle; uhci_ii_done(ii); + upipe->pipe.endpoint->toggle = upipe->nexttoggle; } void