On Tue, 03 Jun 2025 10:25:28 +0800, Baochen Qiang wrote: > ath11k_mac_disable_peer_fixed_rate() is passed as the iterator to > ieee80211_iterate_stations_atomic(). Note in this case the iterator is > required to be atomic, however ath11k_mac_disable_peer_fixed_rate() does > not follow it as it might sleep. Consequently below warning is seen: > > BUG: sleeping function called from invalid context at wmi.c:304 > Call Trace: > <TASK> > dump_stack_lvl > __might_resched.cold > ath11k_wmi_cmd_send > ath11k_wmi_set_peer_param > ath11k_mac_disable_peer_fixed_rate > ieee80211_iterate_stations_atomic > ath11k_mac_op_set_bitrate_mask.cold > > [...] Applied, thanks! [1/1] wifi: ath11k: fix sleeping-in-atomic in ath11k_mac_op_set_bitrate_mask() commit: 65c12b104cb942d588a1a093acc4537fb3d3b129 Best regards, -- Jeff Johnson <jeff.johnson@xxxxxxxxxxxxxxxx>