@@ -6676,9 +6676,9 @@ ath12k_mac_op_set_bitrate_mask(struct ieee80211_hw *hw,
6676
6676
arvif -> vdev_id , ret );
6677
6677
return ret ;
6678
6678
}
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 );
6682
6682
} else if (ath12k_mac_bitrate_mask_get_single_nss (ar , band , mask ,
6683
6683
& single_nss )) {
6684
6684
rate = WMI_FIXED_RATE_NONE ;
@@ -6722,16 +6722,16 @@ ath12k_mac_op_set_bitrate_mask(struct ieee80211_hw *hw,
6722
6722
return - EINVAL ;
6723
6723
}
6724
6724
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 );
6728
6728
6729
6729
mutex_lock (& ar -> conf_mutex );
6730
6730
6731
6731
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 );
6735
6735
6736
6736
mutex_unlock (& ar -> conf_mutex );
6737
6737
}
0 commit comments