diff options
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/main.c')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/main.c | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/drivers/net/wireless/ath/ath9k/main.c b/drivers/net/wireless/ath/ath9k/main.c index 578a7234aa56..c084532291a1 100644 --- a/drivers/net/wireless/ath/ath9k/main.c +++ b/drivers/net/wireless/ath/ath9k/main.c | |||
@@ -924,8 +924,9 @@ void ath9k_calculate_iter_data(struct ieee80211_hw *hw, | |||
924 | ath9k_vif_iter(iter_data, vif->addr, vif); | 924 | ath9k_vif_iter(iter_data, vif->addr, vif); |
925 | 925 | ||
926 | /* Get list of all active MAC addresses */ | 926 | /* Get list of all active MAC addresses */ |
927 | ieee80211_iterate_active_interfaces_atomic(sc->hw, ath9k_vif_iter, | 927 | ieee80211_iterate_active_interfaces_atomic( |
928 | iter_data); | 928 | sc->hw, IEEE80211_IFACE_ITER_RESUME_ALL, |
929 | ath9k_vif_iter, iter_data); | ||
929 | } | 930 | } |
930 | 931 | ||
931 | /* Called with sc->mutex held. */ | 932 | /* Called with sc->mutex held. */ |
@@ -975,8 +976,9 @@ static void ath9k_calculate_summary_state(struct ieee80211_hw *hw, | |||
975 | if (ah->opmode == NL80211_IFTYPE_STATION && | 976 | if (ah->opmode == NL80211_IFTYPE_STATION && |
976 | old_opmode == NL80211_IFTYPE_AP && | 977 | old_opmode == NL80211_IFTYPE_AP && |
977 | test_bit(SC_OP_PRIM_STA_VIF, &sc->sc_flags)) { | 978 | test_bit(SC_OP_PRIM_STA_VIF, &sc->sc_flags)) { |
978 | ieee80211_iterate_active_interfaces_atomic(sc->hw, | 979 | ieee80211_iterate_active_interfaces_atomic( |
979 | ath9k_sta_vif_iter, sc); | 980 | sc->hw, IEEE80211_IFACE_ITER_RESUME_ALL, |
981 | ath9k_sta_vif_iter, sc); | ||
980 | } | 982 | } |
981 | } | 983 | } |
982 | 984 | ||
@@ -1505,8 +1507,9 @@ static void ath9k_bss_info_changed(struct ieee80211_hw *hw, | |||
1505 | clear_bit(SC_OP_BEACONS, &sc->sc_flags); | 1507 | clear_bit(SC_OP_BEACONS, &sc->sc_flags); |
1506 | } | 1508 | } |
1507 | 1509 | ||
1508 | ieee80211_iterate_active_interfaces_atomic(sc->hw, | 1510 | ieee80211_iterate_active_interfaces_atomic( |
1509 | ath9k_bss_assoc_iter, sc); | 1511 | sc->hw, IEEE80211_IFACE_ITER_RESUME_ALL, |
1512 | ath9k_bss_assoc_iter, sc); | ||
1510 | 1513 | ||
1511 | if (!test_bit(SC_OP_PRIM_STA_VIF, &sc->sc_flags) && | 1514 | if (!test_bit(SC_OP_PRIM_STA_VIF, &sc->sc_flags) && |
1512 | ah->opmode == NL80211_IFTYPE_STATION) { | 1515 | ah->opmode == NL80211_IFTYPE_STATION) { |