sm->keyAvailable only set after rekeying

Jouni Malinen jkmaline
Wed Mar 24 19:35:06 PST 2004

On Wed, Mar 24, 2004 at 10:10:11PM -0500, Pavel Roskin wrote:

> If I set non-zero wep_rekey_period in hostapd.conf, sm->keyAvailable in
> eapol_sm.c is 0 until the first rekeying.  For the default
> wep_rekey_period=300 that's 5 minutes until sm->keyAvailable is set.  If
> wep_rekey_period is 0, sm->keyAvailable never becomes 1.


keyAvailable is set to TRUE when keying material from IEEE 802.1X (EAP)
negotiation becomes available from the authentication server.

Jouni Malinen                                            PGP id EFC895FA

More information about the Hostap mailing list