fix usb mis-cleanup after r27162 (#9581)
authorFlorian Fainelli <florian@openwrt.org>
Mon, 20 Jun 2011 10:04:53 +0000 (10:04 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Mon, 20 Jun 2011 10:04:53 +0000 (10:04 +0000)
SVN-Revision: 27243

target/linux/adm5120/files/drivers/usb/host/adm5120-q.c

index 5d95ab1b14a0defa85a01fadf3817eb09de86d17..d7d9e67dedff2bb2e3c527069ca4f237cbf35eff 100644 (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;