diff options
author | Johannes Berg <johannes.berg@intel.com> | 2012-03-12 13:49:13 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-03-13 14:54:16 -0400 |
commit | 617bbde878604adfcd557fc2a8952f77ab4ebd95 (patch) | |
tree | aa98cf7d59427f9d0fb06f33b26e1d096bcb8e6f /net/mac80211/wep.h | |
parent | 6b6fa5868eec26bdc6a83543cebb8cf832a2645a (diff) | |
download | linux-617bbde878604adfcd557fc2a8952f77ab4ebd95.tar.bz2 |
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.h | 1 |
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); |