staging: rtl8723au: Use correct pipe type for USB interrupts
Use a correct pipe type when filling un interrupt urbs. This should finally take care of the WARN() messages on the console when USB urbs are submitted. Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Родитель
3519acb3b0
Коммит
be02f259fd
|
@ -26,7 +26,7 @@ unsigned int ffaddr2pipehdl23a(struct dvobj_priv *pdvobj, u32 addr)
|
|||
if (addr == RECV_BULK_IN_ADDR) {
|
||||
pipe = usb_rcvbulkpipe(pusbd, pdvobj->RtInPipe[0]);
|
||||
} else if (addr == RECV_INT_IN_ADDR) {
|
||||
pipe = usb_rcvbulkpipe(pusbd, pdvobj->RtInPipe[1]);
|
||||
pipe = usb_rcvintpipe(pusbd, pdvobj->RtInPipe[1]);
|
||||
} else if (addr < HW_QUEUE_ENTRY) {
|
||||
ep_num = pdvobj->Queue2Pipe[addr];
|
||||
pipe = usb_sndbulkpipe(pusbd, ep_num);
|
||||
|
|
Загрузка…
Ссылка в новой задаче