@@ -8186,9 +8186,9 @@ ath12k_mac_op_set_bitrate_mask(struct ieee80211_hw *hw,
8186
8186
arvif -> vdev_id , ret );
8187
8187
goto out ;
8188
8188
}
8189
- ieee80211_iterate_stations_atomic (hw ,
8190
- ath12k_mac_disable_peer_fixed_rate ,
8191
- arvif );
8189
+ ieee80211_iterate_stations_mtx (hw ,
8190
+ ath12k_mac_disable_peer_fixed_rate ,
8191
+ arvif );
8192
8192
} else if (ath12k_mac_bitrate_mask_get_single_nss (ar , band , mask ,
8193
8193
& single_nss )) {
8194
8194
rate = WMI_FIXED_RATE_NONE ;
@@ -8233,16 +8233,16 @@ ath12k_mac_op_set_bitrate_mask(struct ieee80211_hw *hw,
8233
8233
goto out ;
8234
8234
}
8235
8235
8236
- ieee80211_iterate_stations_atomic (hw ,
8237
- ath12k_mac_disable_peer_fixed_rate ,
8238
- arvif );
8236
+ ieee80211_iterate_stations_mtx (hw ,
8237
+ ath12k_mac_disable_peer_fixed_rate ,
8238
+ arvif );
8239
8239
8240
8240
mutex_lock (& ar -> conf_mutex );
8241
8241
8242
8242
arvif -> bitrate_mask = * mask ;
8243
- ieee80211_iterate_stations_atomic (hw ,
8244
- ath12k_mac_set_bitrate_mask_iter ,
8245
- arvif );
8243
+ ieee80211_iterate_stations_mtx (hw ,
8244
+ ath12k_mac_set_bitrate_mask_iter ,
8245
+ arvif );
8246
8246
8247
8247
mutex_unlock (& ar -> conf_mutex );
8248
8248
}
0 commit comments