diff options
Diffstat (limited to 'cpu/leon3/usb_uhci.c')
-rw-r--r-- | cpu/leon3/usb_uhci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpu/leon3/usb_uhci.c b/cpu/leon3/usb_uhci.c index 7910beb..8f99e1d 100644 --- a/cpu/leon3/usb_uhci.c +++ b/cpu/leon3/usb_uhci.c @@ -901,7 +901,7 @@ int uhci_submit_rh_msg(struct usb_device *dev, unsigned long pipe, void *buffer, unsigned short wIndex; unsigned short wLength; - if ((pipe & PIPE_INTERRUPT) == PIPE_INTERRUPT) { + if (usb_pipeint(pipe)) { printf("Root-Hub submit IRQ: NOT implemented\n"); return 0; } |