diff mbox

ath10k: fix CAC regression

Message ID 1425907255-14083-1-git-send-email-michal.kazior@tieto.com (mailing list archive)
State Accepted
Headers show

Commit Message

Michal Kazior March 9, 2015, 1:20 p.m. UTC
Patch `ath10k: fix interrupt storm` introduced a
regression. The condition responsible for bringing
up monitor vdev was broken and it was never
started for CAC so effectivelly CAC would not
detect radar pulses.

Signed-off-by: Michal Kazior <michal.kazior@tieto.com>
---
 drivers/net/wireless/ath/ath10k/mac.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Kalle Valo March 12, 2015, 12:32 p.m. UTC | #1
Michal Kazior <michal.kazior@tieto.com> writes:

> Patch `ath10k: fix interrupt storm` introduced a
> regression. The condition responsible for bringing
> up monitor vdev was broken and it was never
> started for CAC so effectivelly CAC would not
> detect radar pulses.
>
> Signed-off-by: Michal Kazior <michal.kazior@tieto.com>

Thanks, applied. I just added the commit id to the commit log.
diff mbox

Patch

diff --git a/drivers/net/wireless/ath/ath10k/mac.c b/drivers/net/wireless/ath/ath10k/mac.c
index 1138f4f..9887e09 100644
--- a/drivers/net/wireless/ath/ath10k/mac.c
+++ b/drivers/net/wireless/ath/ath10k/mac.c
@@ -856,7 +856,7 @@  static int ath10k_monitor_recalc(struct ath10k *ar)
 	lockdep_assert_held(&ar->conf_mutex);
 
 	should_start = ar->monitor ||
-		       !ath10k_mac_should_disable_promisc(ar);
+		       !ath10k_mac_should_disable_promisc(ar) ||
 		       test_bit(ATH10K_CAC_RUNNING, &ar->dev_flags);
 
 	ath10k_dbg(ar, ATH10K_DBG_MAC,