P2P: Use monotonic time for GO client waiting
authorJohannes Berg <johannes.berg@intel.com>
Mon, 16 Dec 2013 20:08:40 +0000 (21:08 +0100)
committerJouni Malinen <j@w1.fi>
Tue, 24 Dec 2013 06:00:03 +0000 (08:00 +0200)
commit151ab808fa64c7b3d302ec476c5797d89a42ac54
treecf6678a33120ee758a3a8e28695e31b948376280
parent3326f19355d93ca0e0faa877bf14599418f778dc
P2P: Use monotonic time for GO client waiting

GO activation can fail if the first client doesn't connect
within a certain time, but this should not be dependent on
wall time -- use monotonic time instead.

While at it, use os_reltime_expired().

Signed-hostap: Johannes Berg <johannes.berg@intel.com>
wpa_supplicant/p2p_supplicant.c
wpa_supplicant/wpa_supplicant_i.h