302-ath9k-restart-only-triggering-DFS-detector-line.patch 702 B

123456789101112131415161718192021
  1. From: Zefir Kurtisi <[email protected]>
  2. Date: Tue, 10 Mar 2015 17:49:29 +0100
  3. Subject: [PATCH] ath9k: restart only triggering DFS detector line
  4. To support HT40 DFS mode, a triggering detector must
  5. reset only itself but not other detector lines.
  6. Signed-off-by: Zefir Kurtisi <[email protected]>
  7. ---
  8. --- a/drivers/net/wireless/ath/dfs_pattern_detector.c
  9. +++ b/drivers/net/wireless/ath/dfs_pattern_detector.c
  10. @@ -289,7 +289,7 @@ dpd_add_pulse(struct dfs_pattern_detecto
  11. "count=%d, count_false=%d\n",
  12. event->freq, pd->rs->type_id,
  13. ps->pri, ps->count, ps->count_falses);
  14. - channel_detector_reset(dpd, cd);
  15. + pd->reset(pd, dpd->last_pulse_ts);
  16. return true;
  17. }
  18. }