Fix authenticator PMKSA cache expiration timer setup
authorJouni Malinen <j@w1.fi>
Sat, 12 Jan 2013 15:21:50 +0000 (17:21 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 12 Jan 2013 15:21:50 +0000 (17:21 +0200)
commit2e8483bf125d53eda8b437dc5eaace7431542aec
treeb368f3d9003da781ea254cc4baa0836a087eb39d
parentaf220315e6378bdea6933e26e87773d532b74c97
Fix authenticator PMKSA cache expiration timer setup

The PMKSA cache expiration timer was not actually ever initialized since
the only place for registering the timeout was in the timeout handler.
Fix this by initializing the timer whenever a new PMKSA cache entry is
added to the beginning of the list (i.e., when it was the first entry or
expires before the entry that was previously going to expire first).
[Bug 393]

Signed-hostap: Jouni Malinen <j@w1.fi>
src/ap/pmksa_cache_auth.c