aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/ibss_rsn.h
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2013-12-16 20:08:39 (GMT)
committerJouni Malinen <j@w1.fi>2013-12-24 05:58:21 (GMT)
commit3326f19355d93ca0e0faa877bf14599418f778dc (patch)
tree024d71a525ed006a5fb27fc4726bb8a5893cf101 /wpa_supplicant/ibss_rsn.h
parent196a2174036b112e6f95974356b3f66ddca9a0ef (diff)
downloadhostap-3326f19355d93ca0e0faa877bf14599418f778dc.zip
hostap-3326f19355d93ca0e0faa877bf14599418f778dc.tar.gz
hostap-3326f19355d93ca0e0faa877bf14599418f778dc.tar.bz2
IBSS RSN: Use monotonic time for reinit detection
The reinit detection skips reinit when the time since the own authentication frame TX is less than half a second, so it shouldn't be affected by wall time and use monotonic time instead. Signed-hostap: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'wpa_supplicant/ibss_rsn.h')
-rw-r--r--wpa_supplicant/ibss_rsn.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/wpa_supplicant/ibss_rsn.h b/wpa_supplicant/ibss_rsn.h
index 3089283..67fae2d 100644
--- a/wpa_supplicant/ibss_rsn.h
+++ b/wpa_supplicant/ibss_rsn.h
@@ -40,7 +40,7 @@ struct ibss_rsn_peer {
struct wpa_state_machine *auth;
int authentication_status;
- struct os_time own_auth_tx;
+ struct os_reltime own_auth_tx;
};
struct ibss_rsn {