AP: Use monotonic time for STA connected time

Connected time is relative, so should be using monotonic time
rather than time of day.

Signed-hostap: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:
Johannes Berg 2013-11-25 21:56:04 +01:00 committed by Jouni Malinen
parent ed0ebee14f
commit b3493fa110
4 changed files with 5 additions and 6 deletions

View file

@ -126,7 +126,7 @@ struct sta_info {
struct wpabuf *p2p_ie; /* P2P IE from (Re)Association Request */
struct wpabuf *hs20_ie; /* HS 2.0 IE from (Re)Association Request */
struct os_time connected_time;
struct os_reltime connected_time;
#ifdef CONFIG_SAE
struct sae_data *sae;