ath9k: Enable DFS only when ATH9K_DFS_CERTIFIED
authorJanusz Dziedzic <janusz.dziedzic@tieto.com>
Tue, 8 Apr 2014 11:38:43 +0000 (13:38 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 9 Apr 2014 17:55:55 +0000 (13:55 -0400)
commit4d76248013dbb1948429555208900a585b0f351d
tree6a5d0f0c89882281c250d5876e4f170682005e35
parent12cd43c6ed6da7bf7c5afbd74da6959cda6d056b
ath9k: Enable DFS only when ATH9K_DFS_CERTIFIED

Add DFS interface combination only when
CONFIG_ATH9K_DFS_CERTIFIED is set. In other case
user can run CAC/beaconing without proper handling
of pulse events (without radar detection activated).

Reported-by: Cedric Voncken <cedric.voncken@acksys.fr>
Signed-off-by: Janusz Dziedzic <janusz.dziedzic@tieto.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/init.c