staging: r8188eu: ctrl vendor req value is always 0x05
authorMartin Kaiser <martin@kaiser.cx>
Wed, 18 Aug 2021 20:00:40 +0000 (22:00 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Aug 2021 20:39:04 +0000 (22:39 +0200)
commitd580fc6dbf2cca7c28c52cb37733849b67461117
tree20a0ffdc69c18436d4a9d0acce02b2153c70e25f
parentec8554b8170ac22c66b57971d72f50c0138cfb86
staging: r8188eu: ctrl vendor req value is always 0x05

The bRequest value for the vendor specific control requests sent by this
driver is always 0x05. Replace the function parameter with the define from
usb_ops.h.

This patch is an adaptation of commit eeb4661560ff ("staging: rtl8188eu:
ctrl vendor req value is always 0x05") 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-1-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/hal/usb_ops_linux.c