diff options
Diffstat (limited to 'drivers/net/wireless/ath/ath5k/base.c')
-rw-r--r-- | drivers/net/wireless/ath/ath5k/base.c | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/drivers/net/wireless/ath/ath5k/base.c b/drivers/net/wireless/ath/ath5k/base.c index 9f31cfa56cc0..2fd5bab2e22a 100644 --- a/drivers/net/wireless/ath/ath5k/base.c +++ b/drivers/net/wireless/ath/ath5k/base.c | |||
@@ -511,8 +511,9 @@ ath5k_update_bssid_mask_and_opmode(struct ath5k_hw *ah, | |||
511 | ath5k_vif_iter(&iter_data, vif->addr, vif); | 511 | ath5k_vif_iter(&iter_data, vif->addr, vif); |
512 | 512 | ||
513 | /* Get list of all active MAC addresses */ | 513 | /* Get list of all active MAC addresses */ |
514 | ieee80211_iterate_active_interfaces_atomic(ah->hw, ath5k_vif_iter, | 514 | ieee80211_iterate_active_interfaces_atomic( |
515 | &iter_data); | 515 | ah->hw, IEEE80211_IFACE_ITER_RESUME_ALL, |
516 | ath5k_vif_iter, &iter_data); | ||
516 | memcpy(ah->bssidmask, iter_data.mask, ETH_ALEN); | 517 | memcpy(ah->bssidmask, iter_data.mask, ETH_ALEN); |
517 | 518 | ||
518 | ah->opmode = iter_data.opmode; | 519 | ah->opmode = iter_data.opmode; |
@@ -1348,7 +1349,7 @@ ath5k_receive_frame(struct ath5k_hw *ah, struct sk_buff *skb, | |||
1348 | * right now, so it's not too bad... | 1349 | * right now, so it's not too bad... |
1349 | */ | 1350 | */ |
1350 | rxs->mactime = ath5k_extend_tsf(ah, rs->rs_tstamp); | 1351 | rxs->mactime = ath5k_extend_tsf(ah, rs->rs_tstamp); |
1351 | rxs->flag |= RX_FLAG_MACTIME_MPDU; | 1352 | rxs->flag |= RX_FLAG_MACTIME_START; |
1352 | 1353 | ||
1353 | rxs->freq = ah->curchan->center_freq; | 1354 | rxs->freq = ah->curchan->center_freq; |
1354 | rxs->band = ah->curchan->band; | 1355 | rxs->band = ah->curchan->band; |
@@ -3045,8 +3046,9 @@ ath5k_any_vif_assoc(struct ath5k_hw *ah) | |||
3045 | iter_data.need_set_hw_addr = false; | 3046 | iter_data.need_set_hw_addr = false; |
3046 | iter_data.found_active = true; | 3047 | iter_data.found_active = true; |
3047 | 3048 | ||
3048 | ieee80211_iterate_active_interfaces_atomic(ah->hw, ath5k_vif_iter, | 3049 | ieee80211_iterate_active_interfaces_atomic( |
3049 | &iter_data); | 3050 | ah->hw, IEEE80211_IFACE_ITER_RESUME_ALL, |
3051 | ath5k_vif_iter, &iter_data); | ||
3050 | return iter_data.any_assoc; | 3052 | return iter_data.any_assoc; |
3051 | } | 3053 | } |
3052 | 3054 | ||