This is needed by the OHCI stack.
Signed-off-by: Daniel Mack daniel@caiaq.de --- drivers/usb/usb.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/usb/usb.c b/drivers/usb/usb.c index 4a0dbad..c08de54 100644 --- a/drivers/usb/usb.c +++ b/drivers/usb/usb.c @@ -247,6 +247,7 @@ set_address (hci_t *controller, int lowspeed) dev->endpoints[0].maxpacketsize = 8; dev->endpoints[0].toggle = 0; dev->endpoints[0].direction = SETUP; + dev->endpoints[0].type = CONTROL; mdelay (50); if (dev->controller->control (&dev->endpoints[0], OUT, sizeof (dr), &dr, 0, 0)) { printf ("set_address failed\n");