]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
staging: r8188eu: set pipe only once
authorMartin Kaiser <martin@kaiser.cx>
Sat, 21 Aug 2021 16:48:59 +0000 (18:48 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 26 Aug 2021 10:17:01 +0000 (12:17 +0200)
commit5598e47a79b4300ba3ff2a8c7f44a4f8ed4af20d
tree8afe6e798827220d782c51848f772c0a8a0067a2
parentf7231a04e4f12757ca46d99dd6e7b71deea25300
staging: r8188eu: set pipe only once

Set the pipe for reading or writing in usbctrl_vendorreq only once.
There's no need to set it again for every retry.

This patch is an adaptation of commit 889ed8b5e374 ("staging: rtl8188eu:
set pipe only once") for the new r8188eu driver.

Acked-by: Phillip Potter <phil@philpotter.co.uk>
Acked-by: Michael Straube <straube.linux@gmail.com>
Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Link: https://lore.kernel.org/r/20210821164859.4351-10-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/hal/usb_ops_linux.c