diff options
Diffstat (limited to 'net/mac80211/rx.c')
-rw-r--r-- | net/mac80211/rx.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/net/mac80211/rx.c b/net/mac80211/rx.c index cf2a72f89d68..9700c1c5b3cf 100644 --- a/net/mac80211/rx.c +++ b/net/mac80211/rx.c | |||
@@ -409,12 +409,7 @@ ieee80211_rx_h_load_key(struct ieee80211_txrx_data *rx) | |||
409 | 409 | ||
410 | if (rx->key) { | 410 | if (rx->key) { |
411 | rx->key->tx_rx_count++; | 411 | rx->key->tx_rx_count++; |
412 | if (unlikely(rx->local->key_tx_rx_threshold && | 412 | /* TODO: add threshold stuff again */ |
413 | rx->key->tx_rx_count > | ||
414 | rx->local->key_tx_rx_threshold)) { | ||
415 | ieee80211_key_threshold_notify(rx->dev, rx->key, | ||
416 | rx->sta); | ||
417 | } | ||
418 | } | 413 | } |
419 | 414 | ||
420 | return TXRX_CONTINUE; | 415 | return TXRX_CONTINUE; |