Commit dc609410 authored by Rory Little's avatar Rory Little Committed by Greg Kroah-Hartman
Browse files

wifi: mac80211: Add non-atomic station iterator



[ Upstream commit 7c3b69ea ]

Drivers may at times want to iterate their stations with a function
which requires some non-atomic operations.

ieee80211_iterate_stations_mtx() introduces an API to iterate stations
while holding that wiphy's mutex. This allows the iterating function to
do non-atomic operations safely.

Signed-off-by: default avatarRory Little <rory@candelatech.com>
Link: https://patch.msgid.link/20240806004024.2014080-2-rory@candelatech.com


[unify internal list iteration functions]
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
Stable-dep-of: 8fac3266 ("wifi: ath12k: fix atomic calls in ath12k_mac_op_set_bitrate_mask()")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 4eceef72
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment