aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorSascha Hauer <[email protected]>2022-12-02 09:12:19 +0100
committerKalle Valo <[email protected]>2022-12-08 16:48:41 +0200
commit78d5bf925f30bf9f79a69ce77386902672defe68 (patch)
treef295e83e69f9be5d38d12624f9d7a6ecc0d4d77b /lib/mpi/mpi-sub-ui.c
parent8647f7f0b9080bc2d2f6e02524782f2f02f159bc (diff)
wifi: rtw88: iterate over vif/sta list non-atomically
The driver uses ieee80211_iterate_active_interfaces_atomic() and ieee80211_iterate_stations_atomic() in several places and does register accesses in the iterators. This doesn't cope with upcoming USB support as registers can only be accessed non-atomically. Split these into a two stage process: First use the atomic iterator functions to collect all active interfaces or stations on a list, then iterate over the list non-atomically and call the iterator on each entry. Signed-off-by: Sascha Hauer <[email protected]> Suggested-by: Ping-Ke shih <[email protected]> Reviewed-by: Ping-Ke Shih <[email protected]> Signed-off-by: Kalle Valo <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions