OSDN Git Service

staging: r8188eu: ctrl vendor req index is not used
authorMartin Kaiser <martin@kaiser.cx>
Wed, 18 Aug 2021 20:00:41 +0000 (22:00 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Aug 2021 20:39:04 +0000 (22:39 +0200)
commit1fd6d8ffad4a6ffd38d79e42c15472c4ff6332f7
tree8a0baad98f80a96773cd02b04f88b51878d7a24e
parentd580fc6dbf2cca7c28c52cb37733849b67461117
staging: r8188eu: ctrl vendor req index is not used

The index for r8188eu's vendor-specific control requests is not used.
Remove the index parameter from usbctrl_vendorreq and pass index 0 to
usb_control_msg.

This patch is an adaptation of commit 3d0be94f62fd ("staging: rtl8188eu:
ctrl vendor req index is not used") for the new r8188eu driver.

Acked-by: Phillip Potter <phil@philpotter.co.uk>
Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Link: https://lore.kernel.org/r/20210818200041.10870-2-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/hal/usb_ops_linux.c