ath9k: DFS - consider ext_channel pulses only in HT40 mode
authorZefir Kurtisi <zefir.kurtisi@neratec.com>
Tue, 16 Jun 2015 09:46:42 +0000 (11:46 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Sat, 11 Jul 2015 16:51:20 +0000 (19:51 +0300)
commit8f010d9ca88f9023650b2e54b74c84ab63a19d02
tree4a5204e67e269669eb899f9aff9a2fc7af648aa6
parent00798c38f49eb028b0c5fac01293783206af29fb
ath9k: DFS - consider ext_channel pulses only in HT40 mode

The chip reports radar pulses on extension channel
even if operating in HT20 mode. This patch adds a
sanity check for HT40 mode before it feeds pulses
on extension channel to the pattern detector.

Signed-off-by: Zefir Kurtisi <zefir.kurtisi@neratec.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath9k/dfs.c