summaryrefslogtreecommitdiffstats
path: root/kernel/drivers/usb/host/ohci-q.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/drivers/usb/host/ohci-q.c')
-rw-r--r--kernel/drivers/usb/host/ohci-q.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/drivers/usb/host/ohci-q.c b/kernel/drivers/usb/host/ohci-q.c
index d029bbe9e..641fed609 100644
--- a/kernel/drivers/usb/host/ohci-q.c
+++ b/kernel/drivers/usb/host/ohci-q.c
@@ -183,7 +183,6 @@ static int ed_schedule (struct ohci_hcd *ohci, struct ed *ed)
{
int branch;
- ed->state = ED_OPER;
ed->ed_prev = NULL;
ed->ed_next = NULL;
ed->hwNextED = 0;
@@ -259,6 +258,8 @@ static int ed_schedule (struct ohci_hcd *ohci, struct ed *ed)
/* the HC may not see the schedule updates yet, but if it does
* then they'll be properly ordered.
*/
+
+ ed->state = ED_OPER;
return 0;
}