mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 04:18:39 +08:00
wifi: rtl8xxxu: Support devices with 5-6 out endpoints
Handle them the same way as the devices with 3-4 USB out endpoints. This is needed for the RTL8192FU. Signed-off-by: Bitterblue Smith <rtl8821cerfe2@gmail.com> Reviewed-by: Ping-Ke Shih <pkshih@realtek.com> Signed-off-by: Kalle Valo <kvalo@kernel.org> Link: https://lore.kernel.org/r/ef4bc66d-84f5-4021-efd7-1787d097519c@gmail.com
This commit is contained in:
parent
a5be45ea45
commit
b9c3379dda
@ -27,7 +27,7 @@
|
||||
#define RTL8XXXU_MAX_REG_POLL 500
|
||||
#define USB_INTR_CONTENT_LENGTH 56
|
||||
|
||||
#define RTL8XXXU_OUT_ENDPOINTS 4
|
||||
#define RTL8XXXU_OUT_ENDPOINTS 6
|
||||
|
||||
#define REALTEK_USB_READ 0xc0
|
||||
#define REALTEK_USB_WRITE 0x40
|
||||
|
@ -1663,6 +1663,8 @@ int rtl8xxxu_config_endpoints_no_sie(struct rtl8xxxu_priv *priv)
|
||||
struct device *dev = &priv->udev->dev;
|
||||
|
||||
switch (priv->nr_out_eps) {
|
||||
case 6:
|
||||
case 5:
|
||||
case 4:
|
||||
case 3:
|
||||
priv->ep_tx_low_queue = 1;
|
||||
|
Loading…
Reference in New Issue
Block a user