We have noticed our kernel locking up when attempting to set bitrates in the ath10k. The fault appears to be the sleep calls from sending a wmi command while an RCU read lock is held. The RCU lock seems unnecessary in this case, as we are already holding the wiphy mutex at that point. We have introduced an iterator for this event - when the wiphy mutex is held and an RCU lock is unnecessary - and used this iterator in the bitrate mask clearing logic. Rory Little (2): wifi: mac80211: Add non-atomic station iterator. wifi: ath10k: Removed atomic iteration in bitrate mask clear. drivers/net/wireless/ath/ath10k/mac.c | 6 +++--- include/net/mac80211.h | 18 ++++++++++++++++ net/mac80211/util.c | 30 +++++++++++++++++++++++++++ 3 files changed, 51 insertions(+), 3 deletions(-) -- 2.34.1