mac80211: update to wireless-testing 2015-03-09
[openwrt/staging/yousong.git] / package / kernel / mac80211 / patches / 302-ath9k-restart-only-triggering-DFS-detector-line.patch
1 From: Zefir Kurtisi <zefir.kurtisi@neratec.com>
2 Date: Tue, 10 Mar 2015 17:49:29 +0100
3 Subject: [PATCH] ath9k: restart only triggering DFS detector line
4
5 To support HT40 DFS mode, a triggering detector must
6 reset only itself but not other detector lines.
7
8 Signed-off-by: Zefir Kurtisi <zefir.kurtisi@neratec.com>
9 ---
10
11 --- a/drivers/net/wireless/ath/dfs_pattern_detector.c
12 +++ b/drivers/net/wireless/ath/dfs_pattern_detector.c
13 @@ -289,7 +289,7 @@ dpd_add_pulse(struct dfs_pattern_detecto
14 "count=%d, count_false=%d\n",
15 event->freq, pd->rs->type_id,
16 ps->pri, ps->count, ps->count_falses);
17 - channel_detector_reset(dpd, cd);
18 + pd->reset(pd, dpd->last_pulse_ts);
19 return true;
20 }
21 }