Use monotonic clock for last_sae_token_key_update
authorJohannes Berg <johannes.berg@intel.com>
Mon, 25 Nov 2013 20:56:07 +0000 (21:56 +0100)
committerJouni Malinen <j@w1.fi>
Sun, 8 Dec 2013 04:50:15 +0000 (20:50 -0800)
commitfe52c210cf6c83bcafa7b6dc0ee6fb523d502b2b
tree8ddde9706da3d291c549fe9707d253ffc35ce041
parent100298e896d95fd59a312aaa6100ed7bbcff930d
Use monotonic clock for last_sae_token_key_update

Just the usual, with a new function os_reltime_initialized()
thrown in that checks whether time has ever been retrieved
(time can't be completely zero).

Signed-hostap: Johannes Berg <johannes.berg@intel.com>
src/ap/hostapd.h
src/ap/ieee802_11.c
src/utils/os.h