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:
parent
ed0ebee14f
commit
b3493fa110
4 changed files with 5 additions and 6 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue