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:
Dmitry Fleytman 2014-04-27 18:19:08 +03:00
parent 655307e7b3
commit 1447b8d476

View file

@ -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)