[PATCH] mac80211: fix TKIP IV update

The TKIP IV should be updated only after MMIC verification,
this patch changes it to be at that spot.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
Johannes Berg
2007-09-26 15:19:45 +02:00
committed by David S. Miller
parent fb1c1cd6c5
commit 50741ae05a
4 changed files with 21 additions and 8 deletions

View File

@@ -31,6 +31,7 @@ enum {
int ieee80211_tkip_decrypt_data(struct crypto_blkcipher *tfm,
struct ieee80211_key *key,
u8 *payload, size_t payload_len, u8 *ta,
int only_iv, int queue);
int only_iv, int queue,
u32 *out_iv32, u16 *out_iv16);
#endif /* TKIP_H */