svn commit: r203673 - head/sys/net80211

Bernhard Schmidt bschmidt at FreeBSD.org
Mon Feb 8 18:16:59 UTC 2010


Author: bschmidt
Date: Mon Feb  8 18:16:59 2010
New Revision: 203673
URL: http://svn.freebsd.org/changeset/base/203673

Log:
  Ensure that tkip_mixing_phase1() is called after a rekeying event when
  useing plain s/w crypto.
  
  Approved by:	rpaulo (mentor)
  Reviewed by:	sam

Modified:
  head/sys/net80211/ieee80211_crypto_tkip.c

Modified: head/sys/net80211/ieee80211_crypto_tkip.c
==============================================================================
--- head/sys/net80211/ieee80211_crypto_tkip.c	Mon Feb  8 17:38:39 2010	(r203672)
+++ head/sys/net80211/ieee80211_crypto_tkip.c	Mon Feb  8 18:16:59 2010	(r203673)
@@ -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;
 }
 


More information about the svn-src-all mailing list