summaryrefslogtreecommitdiffstats
path: root/net/mac80211/tx.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2015-06-12 14:40:45 +0200
committerJohannes Berg <johannes.berg@intel.com>2015-07-17 15:38:01 +0200
commit77c96404a4cf16ffa0720a3fbf45839cc16018ac (patch)
treed0f0297c0282dccb7b5e8dbf1a78942939e9a130 /net/mac80211/tx.c
parentmac80211: remove zero-length A-MPDU subframe reporting (diff)
downloadlinux-77c96404a4cf16ffa0720a3fbf45839cc16018ac.tar.xz
linux-77c96404a4cf16ffa0720a3fbf45839cc16018ac.zip
mac80211: remove key TX/RX counter
This counter is inherently racy (since it can be incremented by RX as well as by concurrent TX) and only available in debugfs. Instead of fixing it to be per-CPU or similar, remove it for now. If needed it should be added without races and with proper nl80211, perhaps even addressing the threshold reporting TODO item that's been there since the code was originally added. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/tx.c')
-rw-r--r--net/mac80211/tx.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/mac80211/tx.c b/net/mac80211/tx.c
index 8410bb3bf5e8..87b9b4e27d22 100644
--- a/net/mac80211/tx.c
+++ b/net/mac80211/tx.c
@@ -610,7 +610,6 @@ ieee80211_tx_h_select_key(struct ieee80211_tx_data *tx)
if (tx->key) {
bool skip_hw = false;
- tx->key->tx_rx_count++;
/* TODO: add threshold stuff again */
switch (tx->key->conf.cipher) {