ath9k: Only add fix_rssi_inv_only when spectral code is used
authorSven Eckelmann <sven@narfation.org>
Thu, 31 Jan 2013 09:26:46 +0000 (10:26 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 1 Feb 2013 19:27:24 +0000 (14:27 -0500)
commitab2e2fc8909b3ea6b5adf813b23cd76a4a33fbd8
tree92417675a288840209481d33bbb83aa90f5186e8
parentbd2ffe14d489ad12024d43bace21c6b6793acd2c
ath9k: Only add fix_rssi_inv_only when spectral code is used

The code is only used when ATH9K_DEBUGFS is activated and causes build warnings
when it is still compiled without user.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/recv.c