staging: rtl8188eu: set pipe only once
authorMartin Kaiser <martin@kaiser.cx>
Wed, 7 Apr 2021 17:05:26 +0000 (19:05 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 8 Apr 2021 07:26:32 +0000 (09:26 +0200)
commit889ed8b5e374780560d778677ba68e6956204101
treec16c0f22f1522542001fa2295d03fe293280b564
parentb048a8db29446bbf898c496b228be546c6cdcf21
staging: rtl8188eu: 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.

Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Link: https://lore.kernel.org/r/20210407170531.29356-5-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c