]> git.ipfire.org Git - thirdparty/hostap.git/commit
wps_registrar: Use monotonic time for PBC session timeout
authorJohannes Berg <johannes.berg@intel.com>
Mon, 16 Dec 2013 20:08:36 +0000 (21:08 +0100)
committerJouni Malinen <j@w1.fi>
Tue, 24 Dec 2013 05:52:49 +0000 (07:52 +0200)
commit61e98e9cf7839e8928bc3ee3ef169dc22853da43
tree4d31ed22f92049b0c5969cade4f1a442c67d4057
parent3647e5a7cbd39c3c856f0700ba65641c2972b34a
wps_registrar: Use monotonic time for PBC session timeout

PBC sessions are just time-stamped when activated, and
eventually time out, so should use monotonic time.

While at it, make the code use os_reltime_expired().

Signed-hostap: Johannes Berg <johannes.berg@intel.com>
src/wps/wps_registrar.c