ath9k: Set ATH9K_STATION_STATISTICS when enabling debugging
authorToke Høiland-Jørgensen <toke@toke.dk>
Tue, 23 Aug 2016 10:36:12 +0000 (12:36 +0200)
committerFelix Fietkau <nbd@nbd.name>
Tue, 23 Aug 2016 11:30:59 +0000 (13:30 +0200)
The ATH9K_STATION_STATISTICS kernel config variable enables some extra
statistics that are useful for debugging (in particular with the airtime
fairness patches enabled). This adds that kernel config when selecting
ath9k debugging.

Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
package/kernel/mac80211/Makefile

index f2839cde2b1514f4342989b72e0baf1d79fddab2..5c0ca3f8851da827acc0cb02b4c6b6bb41f4ab6d 100644 (file)
@@ -1494,7 +1494,7 @@ config-$(call config_package,lib80211) += LIB80211 LIB80211_CRYPT_WEP LIB80211_C
 config-$(call config_package,airo) += AIRO
 
 config-$(call config_package,ath) += ATH_CARDS ATH_COMMON
-config-$(CONFIG_PACKAGE_ATH_DEBUG) += ATH_DEBUG ATH10K_DEBUG
+config-$(CONFIG_PACKAGE_ATH_DEBUG) += ATH_DEBUG ATH10K_DEBUG ATH9K_STATION_STATISTICS
 config-$(CONFIG_PACKAGE_ATH_DFS) += ATH9K_DFS_CERTIFIED ATH10K_DFS_CERTIFIED
 
 config-$(call config_package,ath9k) += ATH9K