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:
@@ -667,6 +667,9 @@ UHCI::SubmitTransfer(Transfer *transfer)
|
|||||||
status_t
|
status_t
|
||||||
UHCI::StartDebugTransfer(Transfer *transfer)
|
UHCI::StartDebugTransfer(Transfer *transfer)
|
||||||
{
|
{
|
||||||
|
if ((transfer->TransferPipe()->Type() & USB_OBJECT_CONTROL_PIPE) != 0)
|
||||||
|
return B_UNSUPPORTED;
|
||||||
|
|
||||||
static transfer_data transferData;
|
static transfer_data transferData;
|
||||||
transferData.first_descriptor = NULL;
|
transferData.first_descriptor = NULL;
|
||||||
transferData.transfer_queue = NULL;
|
transferData.transfer_queue = NULL;
|
||||||
|
|||||||
Reference in New Issue
Block a user