linux-yocto/net/mac80211
Johannes Berg d21eeb0505 wifi: mac80211: fix non-transmitted BSSID profile search
[ Upstream commit e1e6ebf490 ]

When the non-transmitted BSSID profile is found, immediately return
from the search to not return the wrong profile_len when the profile
is found in a multiple BSSID element that isn't the last one in the
frame.

Fixes: 5023b14cf4 ("mac80211: support profile split between elements")
Reported-by: Michael-CY Lee <michael-cy.lee@mediatek.com>
Link: https://patch.msgid.link/20250630154501.f26cd45a0ecd.I28e0525d06e8a99e555707301bca29265cf20dc8@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-07-17 18:37:17 +02:00
..
tests wifi: mac80211: pass parsed TPE data to drivers 2024-05-23 10:35:04 +02:00
aead_api.c
aead_api.h
aes_ccm.h
aes_cmac.c
aes_cmac.h
aes_gcm.h
aes_gmac.c
aes_gmac.h
agg-rx.c wifi: mac80211: refactor block ack management code 2024-08-27 10:12:50 +02:00
agg-tx.c wifi: mac80211: refactor block ack management code 2024-08-27 10:12:50 +02:00
airtime.c wifi: mac80211: introduce EHT rate support in AQL airtime 2024-09-06 12:58:36 +02:00
cfg.c wifi: mac80211: validate SCAN_FLAG_AP in scan request during MLO 2025-06-27 11:11:29 +01:00
chan.c wifi: mac80211: Create separate links for VLAN interfaces 2025-07-06 11:01:40 +02:00
debug.h
debugfs_key.c
debugfs_key.h
debugfs_netdev.c wifi: mac80211: prohibit deactivating all links 2025-02-08 09:57:14 +01:00
debugfs_netdev.h
debugfs_sta.c Revert "mac80211: Dynamically set CoDel parameters per station" 2025-06-27 11:11:33 +01:00
debugfs_sta.h
debugfs.c wifi: mac80211: add strict mode disabling workarounds 2025-04-20 10:15:17 +02:00
debugfs.h
driver-ops.c wifi: mac80211: Fix sparse warning for monitor_sdata 2025-04-10 14:39:36 +02:00
driver-ops.h wifi: mac80211: set ieee80211_prep_tx_info::link_id upon Auth Rx 2025-05-29 11:02:56 +02:00
drop.h
eht.c
ethtool.c
fils_aead.c
fils_aead.h
he.c wifi: mac80211: correctly parse Spatial Reuse Parameter Set element 2024-05-29 15:35:12 +02:00
ht.c wifi: mac80211: refactor block ack management code 2024-08-27 10:12:50 +02:00
ibss.c wifi: mac80211: extend ifcomb check functions for multi-radio 2024-07-09 11:36:12 +02:00
ieee80211_i.h wifi: mac80211: Create separate links for VLAN interfaces 2025-07-06 11:01:40 +02:00
iface.c wifi: mac80211: Create separate links for VLAN interfaces 2025-07-06 11:01:40 +02:00
Kconfig mac80211: MAC80211_MESSAGE_TRACING should depend on TRACING 2024-10-08 21:14:57 +02:00
key.c wireless fixes for v6.12-rc5 2024-10-25 10:44:41 +01:00
key.h
led.c
led.h
link.c wifi: mac80211: finish link init before RCU publish 2025-07-06 11:01:40 +02:00
main.c wifi: mac80211: Set n_channels after allocating struct cfg80211_scan_request 2025-05-22 14:29:43 +02:00
Makefile
mesh_hwmp.c wifi: mac80211: do not offer a mesh path if forwarding is disabled 2025-06-27 11:11:32 +01:00
mesh_pathtbl.c wifi: mac80211: remove redundant unlikely() around IS_ERR() 2024-08-27 10:28:55 +02:00
mesh_plink.c
mesh_ps.c
mesh_sync.c
mesh.c wifi: mac80211: fix mbss changed flags corruption on 32 bit systems 2025-01-09 13:33:43 +01:00
mesh.h
michael.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
michael.h
mlme.c wifi: mac80211: correctly identify S1G short beacon 2025-07-17 18:37:16 +02:00
ocb.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
offchannel.c wifi: mac80211: don't use rate mask for offchannel TX either 2024-08-27 10:13:23 +02:00
parse.c wifi: mac80211: fix non-transmitted BSSID profile search 2025-07-17 18:37:17 +02:00
pm.c wifi: mac80211: handle ieee80211_radar_detected() for MLO 2024-09-06 13:01:05 +02:00
rate.c Revert "mac80211: Dynamically set CoDel parameters per station" 2025-06-27 11:11:33 +01:00
rate.h
rc80211_minstrel_ht_debugfs.c [tree-wide] finally take no_llseek out 2024-09-27 08:18:43 -07:00
rc80211_minstrel_ht.c
rc80211_minstrel_ht.h
rx.c wifi: mac80211: drop invalid source address OCB frames 2025-07-10 16:05:07 +02:00
s1g.c
scan.c wifi: cfg80211/mac80211: correctly parse S1G beacon optional elements 2025-06-19 15:32:19 +02:00
spectmgmt.c wifi: mac80211: fix AP chandef capturing in CSA 2024-07-10 12:35:58 +02:00
sta_info.c Revert "mac80211: Dynamically set CoDel parameters per station" 2025-06-27 11:11:33 +01:00
sta_info.h Revert "mac80211: Dynamically set CoDel parameters per station" 2025-06-27 11:11:33 +01:00
status.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
tdls.c
tkip.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
tkip.h
trace_msg.h
trace.c
trace.h wifi: mac80211: inform the low level if drv_stop() is a suspend 2024-06-26 10:25:46 +02:00
tx.c Revert "mac80211: Dynamically set CoDel parameters per station" 2025-06-27 11:11:33 +01:00
util.c wifi: mac80211: fix beacon interval calculation overflow 2025-07-06 11:01:40 +02:00
vht.c wifi: mac80211: optionally pass chandef to ieee80211_sta_cur_vht_bw() 2024-06-26 10:21:54 +02:00
wbrf.c
wep.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
wep.h
wme.c
wme.h
wpa.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
wpa.h