View | Details | Raw Unified | Return to bug 6752 | Differences between
and this patch

Collapse All | Expand All

(-)2.6.17-orig/drivers/usb/host/uhci-q.c (-2 / +4 lines)
Lines 896-907 Link Here
896
			/*
896
			/*
897
			 * This URB stopped short of its end.  We have to
897
			 * This URB stopped short of its end.  We have to
898
			 * fix up the toggles of the following URBs on the
898
			 * fix up the toggles of the following URBs on the
899
			 * queue and restart the queue.
899
			 * queue and restart the queue.  But only if this
900
			 * TD isn't the last one in the URB.
900
			 *
901
			 *
901
			 * Do this only the first time we encounter the
902
			 * Do this only the first time we encounter the
902
			 * short URB.
903
			 * short URB.
903
			 */
904
			 */
904
			if (!urbp->short_transfer) {
905
			if (!urbp->short_transfer &&
906
					&td->list != urbp->td_list.prev) {
905
				urbp->short_transfer = 1;
907
				urbp->short_transfer = 1;
906
				urbp->qh->initial_toggle =
908
				urbp->qh->initial_toggle =
907
						uhci_toggle(td_token(td)) ^ 1;
909
						uhci_toggle(td_token(td)) ^ 1;

Return to bug 6752