wps_registrar: Use monotonic time for PBC workaround
authorJohannes Berg <johannes.berg@intel.com>
Mon, 16 Dec 2013 20:08:37 +0000 (21:08 +0100)
committerJouni Malinen <j@w1.fi>
Tue, 24 Dec 2013 05:54:40 +0000 (07:54 +0200)
commit864c9afa6df17dc0f1f5e83360ea14e8a566d7e6
tree48322597135b47d44f6b59c721b8fa4d208551d4
parent61e98e9cf7839e8928bc3ee3ef169dc22853da43
wps_registrar: Use monotonic time for PBC workaround

The PBC ignore-start workaround just needs to check whether
the time is within 5 seconds, so should use monotonic time.

While at it, add a few more ifdefs to clearly separate the
code and variables needed.

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