@@ -6676,9 +6676,9 @@ ath12k_mac_op_set_bitrate_mask(struct ieee80211_hw *hw,
66766676 arvif -> vdev_id , ret );
66776677 return ret ;
66786678 }
6679- ieee80211_iterate_stations_atomic (hw ,
6680- ath12k_mac_disable_peer_fixed_rate ,
6681- arvif );
6679+ ieee80211_iterate_stations_mtx (hw ,
6680+ ath12k_mac_disable_peer_fixed_rate ,
6681+ arvif );
66826682 } else if (ath12k_mac_bitrate_mask_get_single_nss (ar , band , mask ,
66836683 & single_nss )) {
66846684 rate = WMI_FIXED_RATE_NONE ;
@@ -6722,16 +6722,16 @@ ath12k_mac_op_set_bitrate_mask(struct ieee80211_hw *hw,
67226722 return - EINVAL ;
67236723 }
67246724
6725- ieee80211_iterate_stations_atomic (hw ,
6726- ath12k_mac_disable_peer_fixed_rate ,
6727- arvif );
6725+ ieee80211_iterate_stations_mtx (hw ,
6726+ ath12k_mac_disable_peer_fixed_rate ,
6727+ arvif );
67286728
67296729 mutex_lock (& ar -> conf_mutex );
67306730
67316731 arvif -> bitrate_mask = * mask ;
6732- ieee80211_iterate_stations_atomic (hw ,
6733- ath12k_mac_set_bitrate_mask_iter ,
6734- arvif );
6732+ ieee80211_iterate_stations_mtx (hw ,
6733+ ath12k_mac_set_bitrate_mask_iter ,
6734+ arvif );
67356735
67366736 mutex_unlock (& ar -> conf_mutex );
67376737 }
0 commit comments