summaryrefslogtreecommitdiffstats
path: root/drivers/staging/r8188eu/hal/HalHWImg8188E_MAC.c
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2023-03-06 16:35:12 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-03-08 17:58:44 +0100
commitd17789edd6a8270c38459e592ee536a84c6202db (patch)
treec56c0da6ca10742345158a261a488a0d00a21038 /drivers/staging/r8188eu/hal/HalHWImg8188E_MAC.c
parent05cbcc415c9b8c8bc4f9a09f8e03610a89042f03 (diff)
downloadlinux-stable-d17789edd6a8270c38459e592ee536a84c6202db.tar.gz
linux-stable-d17789edd6a8270c38459e592ee536a84c6202db.tar.bz2
linux-stable-d17789edd6a8270c38459e592ee536a84c6202db.zip
staging: rtl8723bs: Pass correct parameters to cfg80211_get_bss()
To last 2 parameters to cfg80211_get_bss() should be of the enum ieee80211_bss_type resp. enum ieee80211_privacy types, which WLAN_CAPABILITY_ESS very much is not. Fix both cfg80211_get_bss() calls in ioctl_cfg80211.c to pass the right parameters. Note that the second call was already somewhat fixed by commenting out WLAN_CAPABILITY_ESS and passing in 0 instead. This was still not entirely correct though since that would limit returned BSS-es to ESS type BSS-es with privacy on. Cc: stable@vger.kernel.org Signed-off-by: Hans de Goede <hdegoede@redhat.com> Link: https://lore.kernel.org/r/20230306153512.162104-2-hdegoede@redhat.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/r8188eu/hal/HalHWImg8188E_MAC.c')
0 files changed, 0 insertions, 0 deletions