wpa_supplicant: Use monotonic time for last_scan check
authorJohannes Berg <johannes.berg@intel.com>
Mon, 16 Dec 2013 20:08:44 +0000 (21:08 +0100)
committerJouni Malinen <j@w1.fi>
Tue, 24 Dec 2013 06:21:18 +0000 (08:21 +0200)
commita12d34546a4cf9800fb2bf679417b8cf25e6f420
tree5cdfc80775595a8f286dae3519e411847cc0342e
parent51bffab117ab1c0e7d02866a6911d9fbca09e98b
wpa_supplicant: Use monotonic time for last_scan check

This just serves to check if there was a scan within
the last 5 seconds, hence it should use monotonic time.
While at it, also use os_reltime_expired().

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