Since the interval is now part of the general pipe info we don't have to cast the pipe to an interrupt one anymore.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22976 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -457,10 +457,9 @@ EHCI::SubmitTransfer(Transfer *transfer)
|
|||||||
print_queue(queueHead);
|
print_queue(queueHead);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (pipe->Type() & USB_OBJECT_INTERRUPT_PIPE) {
|
if (pipe->Type() & USB_OBJECT_INTERRUPT_PIPE)
|
||||||
uint8 interval = ((InterruptPipe *)pipe)->Interval();
|
result = LinkInterruptQueueHead(queueHead, pipe->Interval());
|
||||||
result = LinkInterruptQueueHead(queueHead, interval);
|
else
|
||||||
} else
|
|
||||||
result = LinkQueueHead(queueHead);
|
result = LinkQueueHead(queueHead);
|
||||||
|
|
||||||
if (result < B_OK) {
|
if (result < B_OK) {
|
||||||
|
|||||||
Reference in New Issue
Block a user