diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2007-09-17 01:29:25 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-10 19:52:29 -0400 |
commit | 011bfcc4f3d3444b140da3880ae30a62cc93529e (patch) | |
tree | 2c856fefcd132ed308623b1da5cd47a22177d7af /net/mac80211/rx.c | |
parent | 72abd81b980ef7ffb83ecb4ac4a7627d9d575f50 (diff) |
[MAC80211]: remove key threshold stuff
This patch removes the key threshold stuff from mac80211.
I have patches for later that add it as a per-key setting
to nl/cfg80211.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Michael Wu <flamingice@sourmilk.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
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; |