]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commitdiff
ath9k: restart only triggering DFS detector line
authorZefir Kurtisi <zefir.kurtisi@neratec.com>
Tue, 10 Mar 2015 16:49:29 +0000 (17:49 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Mon, 16 Mar 2015 15:53:05 +0000 (17:53 +0200)
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>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/dfs_pattern_detector.c

index 3d57f877238921b979fea04c7f038f48bb0abcc9..c657ca26a71a7c8e2d75dd931ce22d87a372dd45 100644 (file)
@@ -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;
                }
        }