diff options
Diffstat (limited to 'drivers/net/wireless/ath/ath10k/mac.c')
-rw-r--r-- | drivers/net/wireless/ath/ath10k/mac.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/drivers/net/wireless/ath/ath10k/mac.c b/drivers/net/wireless/ath/ath10k/mac.c index 0b1cc516e778..97ac8c87cba2 100644 --- a/drivers/net/wireless/ath/ath10k/mac.c +++ b/drivers/net/wireless/ath/ath10k/mac.c | |||
@@ -92,7 +92,7 @@ static int ath10k_install_key(struct ath10k_vif *arvif, | |||
92 | 92 | ||
93 | lockdep_assert_held(&ar->conf_mutex); | 93 | lockdep_assert_held(&ar->conf_mutex); |
94 | 94 | ||
95 | INIT_COMPLETION(ar->install_key_done); | 95 | reinit_completion(&ar->install_key_done); |
96 | 96 | ||
97 | ret = ath10k_send_key(arvif, key, cmd, macaddr); | 97 | ret = ath10k_send_key(arvif, key, cmd, macaddr); |
98 | if (ret) | 98 | if (ret) |
@@ -438,7 +438,7 @@ static int ath10k_vdev_start(struct ath10k_vif *arvif) | |||
438 | 438 | ||
439 | lockdep_assert_held(&ar->conf_mutex); | 439 | lockdep_assert_held(&ar->conf_mutex); |
440 | 440 | ||
441 | INIT_COMPLETION(ar->vdev_setup_done); | 441 | reinit_completion(&ar->vdev_setup_done); |
442 | 442 | ||
443 | arg.vdev_id = arvif->vdev_id; | 443 | arg.vdev_id = arvif->vdev_id; |
444 | arg.dtim_period = arvif->dtim_period; | 444 | arg.dtim_period = arvif->dtim_period; |
@@ -491,7 +491,7 @@ static int ath10k_vdev_stop(struct ath10k_vif *arvif) | |||
491 | 491 | ||
492 | lockdep_assert_held(&ar->conf_mutex); | 492 | lockdep_assert_held(&ar->conf_mutex); |
493 | 493 | ||
494 | INIT_COMPLETION(ar->vdev_setup_done); | 494 | reinit_completion(&ar->vdev_setup_done); |
495 | 495 | ||
496 | ret = ath10k_wmi_vdev_stop(ar, arvif->vdev_id); | 496 | ret = ath10k_wmi_vdev_stop(ar, arvif->vdev_id); |
497 | if (ret) { | 497 | if (ret) { |
@@ -1666,7 +1666,7 @@ void ath10k_offchan_tx_work(struct work_struct *work) | |||
1666 | } | 1666 | } |
1667 | 1667 | ||
1668 | spin_lock_bh(&ar->data_lock); | 1668 | spin_lock_bh(&ar->data_lock); |
1669 | INIT_COMPLETION(ar->offchan_tx_completed); | 1669 | reinit_completion(&ar->offchan_tx_completed); |
1670 | ar->offchan_tx_skb = skb; | 1670 | ar->offchan_tx_skb = skb; |
1671 | spin_unlock_bh(&ar->data_lock); | 1671 | spin_unlock_bh(&ar->data_lock); |
1672 | 1672 | ||
@@ -2476,8 +2476,8 @@ static int ath10k_hw_scan(struct ieee80211_hw *hw, | |||
2476 | goto exit; | 2476 | goto exit; |
2477 | } | 2477 | } |
2478 | 2478 | ||
2479 | INIT_COMPLETION(ar->scan.started); | 2479 | reinit_completion(&ar->scan.started); |
2480 | INIT_COMPLETION(ar->scan.completed); | 2480 | reinit_completion(&ar->scan.completed); |
2481 | ar->scan.in_progress = true; | 2481 | ar->scan.in_progress = true; |
2482 | ar->scan.aborting = false; | 2482 | ar->scan.aborting = false; |
2483 | ar->scan.is_roc = false; | 2483 | ar->scan.is_roc = false; |
@@ -2832,9 +2832,9 @@ static int ath10k_remain_on_channel(struct ieee80211_hw *hw, | |||
2832 | goto exit; | 2832 | goto exit; |
2833 | } | 2833 | } |
2834 | 2834 | ||
2835 | INIT_COMPLETION(ar->scan.started); | 2835 | reinit_completion(&ar->scan.started); |
2836 | INIT_COMPLETION(ar->scan.completed); | 2836 | reinit_completion(&ar->scan.completed); |
2837 | INIT_COMPLETION(ar->scan.on_channel); | 2837 | reinit_completion(&ar->scan.on_channel); |
2838 | ar->scan.in_progress = true; | 2838 | ar->scan.in_progress = true; |
2839 | ar->scan.aborting = false; | 2839 | ar->scan.aborting = false; |
2840 | ar->scan.is_roc = true; | 2840 | ar->scan.is_roc = true; |