summaryrefslogtreecommitdiffstats
path: root/sys/net80211/ieee80211_crypto_tkip.c
diff options
context:
space:
mode:
authorbschmidt <bschmidt@FreeBSD.org>2010-02-08 18:16:59 +0000
committerbschmidt <bschmidt@FreeBSD.org>2010-02-08 18:16:59 +0000
commit3c2fa0128f9b6a21684a8cbc5a33d090e09b6e4e (patch)
tree6beeb92a055384adb75ff841f180248b65c3aa3a /sys/net80211/ieee80211_crypto_tkip.c
parentb245e1e6ed36169a0aece5c3e57c8e1170e564c7 (diff)
downloadFreeBSD-src-3c2fa0128f9b6a21684a8cbc5a33d090e09b6e4e.zip
FreeBSD-src-3c2fa0128f9b6a21684a8cbc5a33d090e09b6e4e.tar.gz
Ensure that tkip_mixing_phase1() is called after a rekeying event when
useing plain s/w crypto. Approved by: rpaulo (mentor) Reviewed by: sam
Diffstat (limited to 'sys/net80211/ieee80211_crypto_tkip.c')
-rw-r--r--sys/net80211/ieee80211_crypto_tkip.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/net80211/ieee80211_crypto_tkip.c b/sys/net80211/ieee80211_crypto_tkip.c
index f949255..6e1fda1 100644
--- a/sys/net80211/ieee80211_crypto_tkip.c
+++ b/sys/net80211/ieee80211_crypto_tkip.c
@@ -144,6 +144,7 @@ tkip_setkey(struct ieee80211_key *k)
return 0;
}
k->wk_keytsc = 1; /* TSC starts at 1 */
+ ctx->rx_phase1_done = 0;
return 1;
}
OpenPOWER on IntegriCloud