提交 8252a35a 编写于 作者: Z Zefir Kurtisi 提交者: Kalle Valo

ath9k: restart only triggering DFS detector line

To support HT40 DFS mode, a triggering detector must
reset only itself but not other detector lines.
Signed-off-by: NZefir Kurtisi <zefir.kurtisi@neratec.com>
Signed-off-by: NKalle Valo <kvalo@codeaurora.org>
上级 6029e0c5
...@@ -289,7 +289,7 @@ dpd_add_pulse(struct dfs_pattern_detector *dpd, struct pulse_event *event) ...@@ -289,7 +289,7 @@ dpd_add_pulse(struct dfs_pattern_detector *dpd, struct pulse_event *event)
"count=%d, count_false=%d\n", "count=%d, count_false=%d\n",
event->freq, pd->rs->type_id, event->freq, pd->rs->type_id,
ps->pri, ps->count, ps->count_falses); ps->pri, ps->count, ps->count_falses);
channel_detector_reset(dpd, cd); pd->reset(pd, dpd->last_pulse_ts);
return true; return true;
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册