mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
[adm5120] fix usb mis-cleanup after r27162 (#9581)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27243 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -718,10 +718,11 @@ rescan_all:
|
|||||||
* frame counter wraps and EDs with partially retired TDs
|
* frame counter wraps and EDs with partially retired TDs
|
||||||
*/
|
*/
|
||||||
if (likely(HC_IS_RUNNING(admhcd_to_hcd(ahcd)->state))) {
|
if (likely(HC_IS_RUNNING(admhcd_to_hcd(ahcd)->state))) {
|
||||||
if (tick_before(tick, ed->tick))
|
if (tick_before(tick, ed->tick)) {
|
||||||
skip_ed:
|
skip_ed:
|
||||||
last = &ed->ed_rm_next;
|
last = &ed->ed_rm_next;
|
||||||
continue;
|
continue;
|
||||||
|
}
|
||||||
#if 0
|
#if 0
|
||||||
if (!list_empty(&ed->td_list)) {
|
if (!list_empty(&ed->td_list)) {
|
||||||
struct td *td;
|
struct td *td;
|
||||||
|
|||||||
Reference in New Issue
Block a user