summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--port/ehci/usb_hc_ehci.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/port/ehci/usb_hc_ehci.c b/port/ehci/usb_hc_ehci.c
index e96a1f76..3fee1c3f 100644
--- a/port/ehci/usb_hc_ehci.c
+++ b/port/ehci/usb_hc_ehci.c
@@ -41,6 +41,8 @@ static struct ehci_qtd_hw *ehci_qtd_alloc(struct usbh_bus *bus)
memset(&qtd->hw, 0, sizeof(struct ehci_qtd));
qtd->hw.next_qtd = QTD_LIST_END;
+ qtd->hw.alt_next_qtd = QTD_LIST_END;
+ qtd->hw.token = QTD_TOKEN_STATUS_HALTED;
qtd->urb = NULL;
qtd->bufaddr = 0;
qtd->length = 0;