Commit 8252a35a authored by Zefir Kurtisi's avatar Zefir Kurtisi Committed by 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: default avatarZefir Kurtisi <zefir.kurtisi@neratec.com>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment