UsbDk: disable maximum packet size check for pipes
It's up to client to send packets of allowed size. Signed-off-by: Dmitry Fleytman <dfleytma@redhat.com>
This commit is contained in:
parent
655307e7b3
commit
1447b8d476
1 changed files with 1 additions and 0 deletions
|
|
@ -172,6 +172,7 @@ void CWdfUsbPipe::Create(WDFUSBINTERFACE Interface, UCHAR PipeIndex)
|
|||
|
||||
m_Pipe = WdfUsbInterfaceGetConfiguredPipe(m_Interface, PipeIndex, &m_Info);
|
||||
ASSERT(m_Pipe != nullptr);
|
||||
WdfUsbTargetPipeSetNoMaximumPacketSizeCheck(m_Pipe);
|
||||
}
|
||||
|
||||
void CWdfUsbPipe::Read(CWdfRequest &Request, WDFMEMORY Buffer)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue