linux/drivers/staging/rtl8723bs
Hans de Goede d17789edd6 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>
2023-03-08 17:58:44 +01:00
..
core staging: rtl8723bs: Use min/max macros for variable comparison 2022-11-08 16:26:10 +01:00
hal staging: rtl8723bs: hal: Fix codespell-reported spelling mistakes 2023-01-17 19:27:14 +01:00
include staging: rtl8723bs: Fix key-store index handling 2023-03-08 17:58:44 +01:00
os_dep staging: rtl8723bs: Pass correct parameters to cfg80211_get_bss() 2023-03-08 17:58:44 +01:00
Kconfig staging: rtl8723bs: fix unmet dependency on CRYPTO for CRYPTO_LIB_ARC4 2021-10-30 11:12:50 +02:00
Makefile staging: rtl8723bs: delete rtw_odm.c and rtw_odm.h 2022-09-09 09:49:47 +02:00
TODO staging: rtl8723bs: remove item from TODO list 2021-06-24 14:43:46 +02:00