[adm5120] fix usb mis-cleanup after r27162 (#9581)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27243 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
Florian Fainelli 2011-06-20 10:04:53 +00:00
parent c738aae911
commit 585c56bd1a
1 changed files with 2 additions and 1 deletions

View File

@ -718,10 +718,11 @@ rescan_all:
* frame counter wraps and EDs with partially retired TDs
*/
if (likely(HC_IS_RUNNING(admhcd_to_hcd(ahcd)->state))) {
if (tick_before(tick, ed->tick))
if (tick_before(tick, ed->tick)) {
skip_ed:
last = &ed->ed_rm_next;
continue;
}
#if 0
if (!list_empty(&ed->td_list)) {
struct td *td;