@@ -2066,7 +2066,7 @@ static void ath10k_mac_handle_beacon_iter(void *data, u8 *mac,
2066
2066
void ath10k_mac_handle_beacon (struct ath10k * ar , struct sk_buff * skb )
2067
2067
{
2068
2068
ieee80211_iterate_active_interfaces_atomic (ar -> hw ,
2069
- IEEE80211_IFACE_ITER_NORMAL ,
2069
+ ATH10K_ITER_NORMAL_FLAGS ,
2070
2070
ath10k_mac_handle_beacon_iter ,
2071
2071
skb );
2072
2072
}
@@ -2099,7 +2099,7 @@ static void ath10k_mac_handle_beacon_miss_iter(void *data, u8 *mac,
2099
2099
void ath10k_mac_handle_beacon_miss (struct ath10k * ar , u32 vdev_id )
2100
2100
{
2101
2101
ieee80211_iterate_active_interfaces_atomic (ar -> hw ,
2102
- IEEE80211_IFACE_ITER_NORMAL ,
2102
+ ATH10K_ITER_NORMAL_FLAGS ,
2103
2103
ath10k_mac_handle_beacon_miss_iter ,
2104
2104
& vdev_id );
2105
2105
}
@@ -3433,7 +3433,7 @@ void ath10k_mac_tx_unlock(struct ath10k *ar, int reason)
3433
3433
return ;
3434
3434
3435
3435
ieee80211_iterate_active_interfaces_atomic (ar -> hw ,
3436
- IEEE80211_IFACE_ITER_RESUME_ALL ,
3436
+ ATH10K_ITER_RESUME_FLAGS ,
3437
3437
ath10k_mac_tx_unlock_iter ,
3438
3438
ar );
3439
3439
@@ -3522,7 +3522,7 @@ void ath10k_mac_handle_tx_pause_vdev(struct ath10k *ar, u32 vdev_id,
3522
3522
3523
3523
spin_lock_bh (& ar -> htt .tx_lock );
3524
3524
ieee80211_iterate_active_interfaces_atomic (ar -> hw ,
3525
- IEEE80211_IFACE_ITER_RESUME_ALL ,
3525
+ ATH10K_ITER_RESUME_FLAGS ,
3526
3526
ath10k_mac_handle_tx_pause_iter ,
3527
3527
& arg );
3528
3528
spin_unlock_bh (& ar -> htt .tx_lock );
@@ -8696,7 +8696,7 @@ ath10k_mac_op_change_chanctx(struct ieee80211_hw *hw,
8696
8696
if (changed & IEEE80211_CHANCTX_CHANGE_WIDTH ) {
8697
8697
ieee80211_iterate_active_interfaces_atomic (
8698
8698
hw ,
8699
- IEEE80211_IFACE_ITER_NORMAL ,
8699
+ ATH10K_ITER_NORMAL_FLAGS ,
8700
8700
ath10k_mac_change_chanctx_cnt_iter ,
8701
8701
& arg );
8702
8702
if (arg .n_vifs == 0 )
@@ -8709,7 +8709,7 @@ ath10k_mac_op_change_chanctx(struct ieee80211_hw *hw,
8709
8709
8710
8710
ieee80211_iterate_active_interfaces_atomic (
8711
8711
hw ,
8712
- IEEE80211_IFACE_ITER_NORMAL ,
8712
+ ATH10K_ITER_NORMAL_FLAGS ,
8713
8713
ath10k_mac_change_chanctx_fill_iter ,
8714
8714
& arg );
8715
8715
ath10k_mac_update_vif_chan (ar , arg .vifs , arg .n_vifs );
@@ -9594,14 +9594,12 @@ static void ath10k_get_arvif_iter(void *data, u8 *mac,
9594
9594
struct ath10k_vif * ath10k_get_arvif (struct ath10k * ar , u32 vdev_id )
9595
9595
{
9596
9596
struct ath10k_vif_iter arvif_iter ;
9597
- u32 flags ;
9598
9597
9599
9598
memset (& arvif_iter , 0 , sizeof (struct ath10k_vif_iter ));
9600
9599
arvif_iter .vdev_id = vdev_id ;
9601
9600
9602
- flags = IEEE80211_IFACE_ITER_RESUME_ALL ;
9603
9601
ieee80211_iterate_active_interfaces_atomic (ar -> hw ,
9604
- flags ,
9602
+ ATH10K_ITER_RESUME_FLAGS ,
9605
9603
ath10k_get_arvif_iter ,
9606
9604
& arvif_iter );
9607
9605
if (!arvif_iter .arvif ) {
0 commit comments