Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Feb 2010 18:16:59 +0000 (UTC)
From:      Bernhard Schmidt <bschmidt@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r203673 - head/sys/net80211
Message-ID:  <201002081816.o18IGx2B019439@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;
 }
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201002081816.o18IGx2B019439>