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: Zefir Kurtisi <zefir.kurtisi@neratec.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
This commit is contained in:
Zefir Kurtisi 2015-03-10 17:49:29 +01:00 committed by Kalle Valo
parent 6029e0c59b
commit 8252a35ab4
1 changed files with 1 additions and 1 deletions

View 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;
}
}