diff mbox

[1/3] ath9k: restart only triggering DFS detector line

Message ID 1426006171-2555-2-git-send-email-zefir.kurtisi@neratec.com (mailing list archive)
State Accepted
Delegated to: Kalle Valo
Headers show

Commit Message

Zefir Kurtisi March 10, 2015, 4:49 p.m. UTC
To support HT40 DFS mode, a triggering detector must
reset only itself but not other detector lines.

Signed-off-by: Zefir Kurtisi <zefir.kurtisi@neratec.com>
---
 drivers/net/wireless/ath/dfs_pattern_detector.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Kalle Valo March 16, 2015, 3:53 p.m. UTC | #1
> To support HT40 DFS mode, a triggering detector must
> reset only itself but not other detector lines.
> 
> Signed-off-by: Zefir Kurtisi <zefir.kurtisi@neratec.com>

Thanks, 3 patches applied to wireless-drivers-next.git:

8252a35ab4f6 ath9k: restart only triggering DFS detector line
58766977ad12 ath9k: add DFS support for extension channel
387f149a2ace ath9k: allow 40MHz radar detection width

Kalle Valo
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/drivers/net/wireless/ath/dfs_pattern_detector.c b/drivers/net/wireless/ath/dfs_pattern_detector.c
index 3d57f87..c657ca2 100644
--- a/drivers/net/wireless/ath/dfs_pattern_detector.c
+++ b/drivers/net/wireless/ath/dfs_pattern_detector.c
@@ -289,7 +289,7 @@  dpd_add_pulse(struct dfs_pattern_detector *dpd, struct pulse_event *event)
 				"count=%d, count_false=%d\n",
 				event->freq, pd->rs->type_id,
 				ps->pri, ps->count, ps->count_falses);
-			channel_detector_reset(dpd, cd);
+			pd->reset(pd, dpd->last_pulse_ts);
 			return true;
 		}
 	}