staging: r8188eu: only the bulk in ep is used for network data
authorMartin Kaiser <martin@kaiser.cx>
Fri, 26 Nov 2021 17:31:59 +0000 (18:31 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 3 Dec 2021 14:11:33 +0000 (15:11 +0100)
commit25b9bd7589109abcdc02a9e953c35f484037620e
tree3b2f6e9ad367d7c6f942c9da947f0fac4c273df1
parent678fb0b65e6eac8c550260f37531b8ecd53cd8bd
staging: r8188eu: only the bulk in ep is used for network data

All supported devices use a single bulk in endpoint for receiving
network data.

The rtw_read_port function needs no addr parameter. The ff_hwaddr in
struct recv_priv is also a constant value. We can use RECV_BULK_IN_ADDR
directly.

Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Link: https://lore.kernel.org/r/20211126173205.21352-3-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/hal/usb_halinit.c
drivers/staging/r8188eu/hal/usb_ops_linux.c
drivers/staging/r8188eu/include/rtw_io.h
drivers/staging/r8188eu/include/rtw_recv.h