staging: r8188eu: limit rtw_wx_read_rf to path a
authorMartin Kaiser <martin@kaiser.cx>
Sat, 12 Feb 2022 16:17:33 +0000 (17:17 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 15 Feb 2022 16:11:23 +0000 (17:11 +0100)
commit67a825083163331bbc48569dca41aa7f53a26625
treedac1f8307ef7e55deb2495cd655ad31237800db5
parentaa7776609583ba8d3cbf44a7c46c8bd0cbb75689
staging: r8188eu: limit rtw_wx_read_rf to path a

Commit 3b011b097c38 ("staging: r8188eu: limit rf register writes to
path a") limits rf register writes by private ioctls to RF_PATH_A.
Apart from private ioctls, the rest of the driver uses only path a.

This patch limits rf register reads by the private ioctl 0x0D, which
calls rtw_wx_read_rf, to path a.

Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Link: https://lore.kernel.org/r/20220212161737.381841-7-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/os_dep/ioctl_linux.c