staging: r8188eu: remove channel parameters from rtw_sitesurvey_cmd
authorMartin Kaiser <martin@kaiser.cx>
Mon, 5 Sep 2022 19:56:12 +0000 (21:56 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 9 Sep 2022 07:51:48 +0000 (09:51 +0200)
commitcbdeb787905d76d91c932cc69302c1be5d2306d9
treeb76ac70e203ce978a9db2539127251a079448aec
parent3a09f934df4eb5a01777416fc4f317293b37e563
staging: r8188eu: remove channel parameters from rtw_sitesurvey_cmd

The rtw_sitesurvey_cmd function may receive an array of channels in the
ch and ch_num parameters. All of the callers set ch = NULL and ch_num = 0.

Remove the two parameters from rtw_sitesurvey_cmd and the code to process
them.

Tested-by: Michael Straube <straube.linux@gmail.com>
Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Link: https://lore.kernel.org/r/20220905195612.81945-1-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/core/rtw_cmd.c
drivers/staging/r8188eu/core/rtw_ioctl_set.c
drivers/staging/r8188eu/core/rtw_mlme.c
drivers/staging/r8188eu/include/rtw_cmd.h
drivers/staging/r8188eu/os_dep/ioctl_linux.c