diff options
| author | Ian Dowse <iedowse@FreeBSD.org> | 2006-02-26 02:57:57 +0000 |
|---|---|---|
| committer | Ian Dowse <iedowse@FreeBSD.org> | 2006-02-26 02:57:57 +0000 |
| commit | 78e3c96cc908c22df21a257ab42c9ea7a6806831 (patch) | |
| tree | fbccb8c0b6ba74482b008a172953ddee086f7842 /sys/dev/usb/uhci.c | |
| parent | bee3d34f79eb688e4f7fbb898e49bc34524f9b11 (diff) | |
Notes
Diffstat (limited to 'sys/dev/usb/uhci.c')
| -rw-r--r-- | sys/dev/usb/uhci.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/usb/uhci.c b/sys/dev/usb/uhci.c index 3382d5b424c6..e47d2b4b893d 100644 --- a/sys/dev/usb/uhci.c +++ b/sys/dev/usb/uhci.c @@ -2033,6 +2033,7 @@ uhci_device_bulk_close(usbd_pipe_handle pipe) uhci_softc_t *sc = (uhci_softc_t *)dev->bus; uhci_free_sqh(sc, upipe->u.bulk.sqh); + pipe->endpoint->savedtoggle = upipe->nexttoggle; } usbd_status @@ -2917,7 +2918,7 @@ uhci_open(usbd_pipe_handle pipe) ed->bEndpointAddress, sc->sc_addr)); upipe->aborting = 0; - upipe->nexttoggle = 0; + upipe->nexttoggle = pipe->endpoint->savedtoggle; if (pipe->device->address == sc->sc_addr) { switch (ed->bEndpointAddress) { |
