mac80211: move dot11 counters under MAC80211_DEBUG_COUNTERS
authorJohannes Berg <johannes.berg@intel.com>
Wed, 22 Apr 2015 18:47:28 +0000 (20:47 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 5 May 2015 12:21:54 +0000 (14:21 +0200)
commitc206ca670974cefec7ac3732db5c8156e8081a8d
treecb6ad01eea07abdd42ec4ba7433ba876c9cd1f57
parentf1160434c7658af3f7b0926b88df49a66cb3c3e0
mac80211: move dot11 counters under MAC80211_DEBUG_COUNTERS

Since these counters can only be read through debugfs, there's
very little point in maintaining them all the time. However,
even just making them depend on debugfs is pointless - they're
not normally used. Additionally a number of them aren't even
concurrency safe.

Move them under MAC80211_DEBUG_COUNTERS so they're normally
not even compiled in.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/Kconfig
net/mac80211/debugfs.c
net/mac80211/ieee80211_i.h
net/mac80211/rx.c
net/mac80211/status.c