aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/tx.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/mac80211/tx.c')
-rw-r--r--net/mac80211/tx.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/net/mac80211/tx.c b/net/mac80211/tx.c
index 04b4fa9c69ea..e33f7641e6b4 100644
--- a/net/mac80211/tx.c
+++ b/net/mac80211/tx.c
@@ -451,12 +451,7 @@ ieee80211_tx_h_select_key(struct ieee80211_txrx_data *tx)
451 451
452 if (tx->key) { 452 if (tx->key) {
453 tx->key->tx_rx_count++; 453 tx->key->tx_rx_count++;
454 if (unlikely(tx->local->key_tx_rx_threshold && 454 /* TODO: add threshold stuff again */
455 tx->key->tx_rx_count >
456 tx->local->key_tx_rx_threshold)) {
457 ieee80211_key_threshold_notify(tx->dev, tx->key,
458 tx->sta);
459 }
460 } 455 }
461 456
462 return TXRX_CONTINUE; 457 return TXRX_CONTINUE;