Date: Thu, 21 May 2009 17:43:35 +0000 (UTC) From: Andrew Thompson <thompsa@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r192555 - head/sys/dev/usb/controller Message-ID: <200905211743.n4LHhZAS074002@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: thompsa Date: Thu May 21 17:43:35 2009 New Revision: 192555 URL: http://svn.freebsd.org/changeset/base/192555 Log: Fix a failure to report failure on stalled status stage for control transactions. Submitted by: Hans Petter Selasky Modified: head/sys/dev/usb/controller/ehci.c Modified: head/sys/dev/usb/controller/ehci.c ============================================================================== --- head/sys/dev/usb/controller/ehci.c Thu May 21 17:42:32 2009 (r192554) +++ head/sys/dev/usb/controller/ehci.c Thu May 21 17:43:35 2009 (r192555) @@ -1156,13 +1156,6 @@ ehci_non_isoc_done_sub(struct usb2_xfer } /* Check for last transfer */ if (((void *)td) == xfer->td_transfer_last) { - if (len == 0) { - /* - * Halt is ok if descriptor is last, - * and complete: - */ - status &= ~EHCI_QTD_HALTED; - } td = NULL; break; }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200905211743.n4LHhZAS074002>