linux-stable/drivers/staging
Hans de Goede 98f6d16140 staging: rtl8723bs: Pass correct parameters to cfg80211_get_bss()
commit d17789edd6 upstream.

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-17 08:57:47 +01:00
..
axis-fifo
board
emxx_udc staging: emxx_udc: Add checks for dma_alloc_coherent() 2023-03-11 13:50:40 +01:00
fbtft
fieldbus staging: fieldbus: use sysfs_emit() in show functions 2022-11-09 14:40:13 +01:00
gdm724x staging: gdm724x: Replace macro GDM_TTY_READY with static inline function 2022-11-22 13:20:16 +01:00
greybus staging: greybus: loopback_test: Remove extra blank lines 2022-12-05 13:28:41 +01:00
iio staging: iio: accel: adis16240: Call '__adis_initial_startup()' 2022-11-23 20:37:51 +00:00
ks7010 staging: ks7010: Avoid clashing function prototypes 2022-11-09 14:39:03 +01:00
media media: atomisp: Only set default_run_mode on first open of a stream/asd 2023-03-10 09:29:03 +01:00
most staging: most: i2c: Convert to i2c's .probe_new() 2022-11-22 13:23:25 +01:00
nvec
octeon staging: octeon: cvmx_ptr_to_phys() should return physaddr_t 2022-11-02 08:21:49 +01:00
olpc_dcon staging: olpc_dcon: Convert to i2c's .probe_new() 2022-11-22 13:23:25 +01:00
pi433 staging: pi433: fix memory leak with using debugfs_lookup() 2023-03-11 13:50:42 +01:00
qlge
r8188eu staging: r8188eu: use subtype helper in rtw_check_bcn_info 2022-12-05 13:29:32 +01:00
rtl8192e staging: rtl8192e: Remove call_usermodehelper starting RadioPower.sh 2023-03-13 10:26:43 +01:00
rtl8192u staging: rtl8192u: Fix use after free in ieee80211_rx() 2022-12-05 13:24:50 +01:00
rtl8712 staging: rtl8712: fix potential memory leak 2022-10-31 09:08:30 +01:00
rtl8723bs staging: rtl8723bs: Pass correct parameters to cfg80211_get_bss() 2023-03-17 08:57:47 +01:00
rts5208
sm750fb Staging driver changes for 6.2-rc1 2022-12-16 03:27:03 -08:00
vc04_services staging: vchiq_arm: fix enum vchiq_status return types 2023-01-17 19:23:36 +01:00
vme_user vme: Use root_device_register() not underlined version 2022-12-08 17:00:18 +01:00
vt6655 Staging driver changes for 6.2-rc1 2022-12-16 03:27:03 -08:00
vt6656
wlan-ng treewide: Convert del_timer*() to timer_shutdown*() 2022-12-25 13:38:09 -08:00
Kconfig
Makefile