summaryrefslogtreecommitdiff
path: root/net/mac80211/wep.h
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2012-03-12 12:49:13 (GMT)
committerJohn W. Linville <linville@tuxdriver.com>2012-03-13 18:54:16 (GMT)
commit617bbde878604adfcd557fc2a8952f77ab4ebd95 (patch)
treeaa98cf7d59427f9d0fb06f33b26e1d096bcb8e6f /net/mac80211/wep.h
parent6b6fa5868eec26bdc6a83543cebb8cf832a2645a (diff)
downloadlinux-617bbde878604adfcd557fc2a8952f77ab4ebd95.tar.xz
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 01e5484..9615749 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);