uhci-hcd: fix list access bug
authorAlan Stern <stern@rowland.harvard.edu>
Thu, 31 Aug 2006 18:18:39 +0000 (14:18 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 1 Sep 2006 01:04:30 +0000 (18:04 -0700)
commitdb59b464f8708cdba857f16b183cff0b7466d6b5
treeaba762f4214e4bbbf7b6340f5a7007c7a78c2393
parent5df3d8b53f436a26fad8077b1ceb39a7708e95ec
uhci-hcd: fix list access bug

When skipping to the last TD of an URB, go to the _last_ entry in the
list instead of the _first_ entry (as780).  This fixes Bugzilla #6747
and possibly others.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/uhci-q.c