]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k: move spectral scan support under a separate config symbol
authorMatthias Schiffer <mschiffer@universe-factory.net>
Mon, 27 Nov 2017 17:56:22 +0000 (18:56 +0100)
committerKalle Valo <kvalo@qca.qualcomm.com>
Thu, 7 Dec 2017 14:31:57 +0000 (16:31 +0200)
commit1240eee525123caf88fbb095e22503c98f6f86a1
tree9b6ae7b7ccbea5571a6d4be4c41bfffad37e2258
parentb95fa76700b0a1b7d5165806b27649e53528ef75
ath9k: move spectral scan support under a separate config symbol

At the moment, spectral scan support, and with it RELAY, is always enabled
with ATH9K[_HTC]_DEBUGFS. Spectral scan support is currently the only user
of RELAY in ath9k, and it unconditionally reserves a relay channel.

Having debugfs support in ath9k is often useful even on very small embedded
routers, where we'd rather like to avoid the code size and RAM usage of the
relay support.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath9k/Kconfig
drivers/net/wireless/ath/ath9k/Makefile
drivers/net/wireless/ath/ath9k/common-spectral.h