staging: r8188eu: limit rtw_dbg_port to path a
authorMartin Kaiser <martin@kaiser.cx>
Sat, 12 Feb 2022 16:17:34 +0000 (17:17 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 15 Feb 2022 16:11:23 +0000 (17:11 +0100)
commit8460ddc21c6f42d01b75ef37a5a0814d14f18ff1
tree8eeca5242587ba6df75174e66605c482378ca156
parent67a825083163331bbc48569dca41aa7f53a26625
staging: r8188eu: limit rtw_dbg_port to path a

Rf registers can be read by rtw_wx_read_rf or via the private ioctl 0x0B.
The latter calls rtw_dbg_port. Limit rf register reads to path a in
rtw_debug_port.

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