aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/tx.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2007-09-17 01:29:25 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2007-10-10 16:52:29 -0700
commit011bfcc4f3d3444b140da3880ae30a62cc93529e (patch)
tree2c856fefcd132ed308623b1da5cd47a22177d7af /net/mac80211/tx.c
parent[MAC80211]: allow drivers to indicate failed FCS/PLCP checksum (diff)
downloadlinux-dev-011bfcc4f3d3444b140da3880ae30a62cc93529e.tar.xz
linux-dev-011bfcc4f3d3444b140da3880ae30a62cc93529e.zip
[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/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)
if (tx->key) {
tx->key->tx_rx_count++;
- if (unlikely(tx->local->key_tx_rx_threshold &&
- tx->key->tx_rx_count >
- tx->local->key_tx_rx_threshold)) {
- ieee80211_key_threshold_notify(tx->dev, tx->key,
- tx->sta);
- }
+ /* TODO: add threshold stuff again */
}
return TXRX_CONTINUE;