diff options
author | 2022-09-05 21:56:12 +0200 | |
---|---|---|
committer | 2022-09-09 09:51:48 +0200 | |
commit | cbdeb787905d76d91c932cc69302c1be5d2306d9 (patch) | |
tree | b76ac70e203ce978a9db2539127251a079448aec /drivers/staging/r8188eu/include | |
parent | staging: r8188eu: remove mlme_osdep.h (diff) | |
download | linux-dev-cbdeb787905d76d91c932cc69302c1be5d2306d9.tar.xz linux-dev-cbdeb787905d76d91c932cc69302c1be5d2306d9.zip |
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>
Diffstat (limited to 'drivers/staging/r8188eu/include')
-rw-r--r-- | drivers/staging/r8188eu/include/rtw_cmd.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/staging/r8188eu/include/rtw_cmd.h b/drivers/staging/r8188eu/include/rtw_cmd.h index 6b6d560d7143..9a76aa85de94 100644 --- a/drivers/staging/r8188eu/include/rtw_cmd.h +++ b/drivers/staging/r8188eu/include/rtw_cmd.h @@ -730,9 +730,7 @@ Result: #define H2C_CMD_OVERFLOW 0x06 #define H2C_RESERVED 0x07 -u8 rtw_sitesurvey_cmd(struct adapter *padapter, struct ndis_802_11_ssid *ssid, - int ssid_num, struct rtw_ieee80211_channel *ch, - int ch_num); +u8 rtw_sitesurvey_cmd(struct adapter *padapter, struct ndis_802_11_ssid *ssid, int ssid_num); u8 rtw_createbss_cmd(struct adapter *padapter); u8 rtw_setstakey_cmd(struct adapter *padapter, u8 *psta, u8 unicast_key); u8 rtw_clearstakey_cmd(struct adapter *padapter, u8 *psta, u8 entry, u8 enqueue); |