summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorPeter Oh <poh@qca.qualcomm.com>2014-12-15 19:55:34 +0100
committerKalle Valo <kvalo@codeaurora.org>2014-12-24 16:28:28 +0100
commita844bae38bf8c07ce18944d8b3d484911d75c8dd (patch)
treee0741620063ba05399d7c6ab3fec8b2ea2e367cc /drivers
parentrsi: fix memory leak in rsi_load_ta_instructions() (diff)
downloadlinux-a844bae38bf8c07ce18944d8b3d484911d75c8dd.tar.xz
linux-a844bae38bf8c07ce18944d8b3d484911d75c8dd.zip
ath: fix incorrect PPB on FCC radar type 5
The minimum number of pulses per burst on FCC radar type 5 is 1. Use this number for correct radar detection. Signed-off-by: Peter Oh <poh@qca.qualcomm.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/wireless/ath/dfs_pattern_detector.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/dfs_pattern_detector.c b/drivers/net/wireless/ath/dfs_pattern_detector.c
index cfd0554cf140..3d57f8772389 100644
--- a/drivers/net/wireless/ath/dfs_pattern_detector.c
+++ b/drivers/net/wireless/ath/dfs_pattern_detector.c
@@ -86,7 +86,7 @@ static const struct radar_detector_specs fcc_radar_ref_types[] = {
FCC_PATTERN(1, 0, 5, 150, 230, 1, 23),
FCC_PATTERN(2, 6, 10, 200, 500, 1, 16),
FCC_PATTERN(3, 11, 20, 200, 500, 1, 12),
- FCC_PATTERN(4, 50, 100, 1000, 2000, 1, 20),
+ FCC_PATTERN(4, 50, 100, 1000, 2000, 1, 1),
FCC_PATTERN(5, 0, 1, 333, 333, 1, 9),
};