UHCI: Reject request debug transfers on control pipes.
Requests aren't handled in the debug transfer code path and would end up in wrongly constructed descriptor chains.
This commit is contained in:
parent
dbd527de10
commit
064018fbf1
@ -667,6 +667,9 @@ UHCI::SubmitTransfer(Transfer *transfer)
|
||||
status_t
|
||||
UHCI::StartDebugTransfer(Transfer *transfer)
|
||||
{
|
||||
if ((transfer->TransferPipe()->Type() & USB_OBJECT_CONTROL_PIPE) != 0)
|
||||
return B_UNSUPPORTED;
|
||||
|
||||
static transfer_data transferData;
|
||||
transferData.first_descriptor = NULL;
|
||||
transferData.transfer_queue = NULL;
|
||||
|
Loading…
x
Reference in New Issue
Block a user