summaryrefslogtreecommitdiffstats
path: root/net/mac80211/wep.h
diff options
context:
space:
mode:
authorJohannes Berg2012-03-12 13:49:13 +0100
committerJohn W. Linville2012-03-13 19:54:16 +0100
commit617bbde878604adfcd557fc2a8952f77ab4ebd95 (patch)
treeaa98cf7d59427f9d0fb06f33b26e1d096bcb8e6f /net/mac80211/wep.h
parentb43: Load firmware from a work queue and not from the probe routine (diff)
downloadkernel-qcow2-linux-617bbde878604adfcd557fc2a8952f77ab4ebd95.tar.gz
kernel-qcow2-linux-617bbde878604adfcd557fc2a8952f77ab4ebd95.tar.xz
kernel-qcow2-linux-617bbde878604adfcd557fc2a8952f77ab4ebd95.zip
mac80211: move RX WEP weak IV counting
This is better done inside the WEP decrypt function where it doesn't have to check all the conditions any more since they've been tested already. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/wep.h')
-rw-r--r--net/mac80211/wep.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/mac80211/wep.h b/net/mac80211/wep.h
index 01e54840a628..9615749d1f65 100644
--- a/net/mac80211/wep.h
+++ b/net/mac80211/wep.h
@@ -25,7 +25,6 @@ int ieee80211_wep_encrypt(struct ieee80211_local *local,
const u8 *key, int keylen, int keyidx);
int ieee80211_wep_decrypt_data(struct crypto_cipher *tfm, u8 *rc4key,
size_t klen, u8 *data, size_t data_len);
-bool ieee80211_wep_is_weak_iv(struct sk_buff *skb, struct ieee80211_key *key);
ieee80211_rx_result
ieee80211_crypto_wep_decrypt(struct ieee80211_rx_data *rx);