summaryrefslogtreecommitdiff
path: root/sys/net80211/ieee80211_var.h
diff options
context:
space:
mode:
authorcheloha <cheloha@cvs.openbsd.org>2020-07-15 22:49:09 +0000
committercheloha <cheloha@cvs.openbsd.org>2020-07-15 22:49:09 +0000
commit1cd56b31e3bb5eaffab676cf14d382a209377bb9 (patch)
treea38dbfc36ae47bf54aa7ec9fa988f11695986788 /sys/net80211/ieee80211_var.h
parentaceeb609d3c2b2949ebf3de3847789e92c66b2bd (diff)
ieee80211: track micfail timeout with getuptime(9) instead of ticks
With input from stsp@. ok stsp@
Diffstat (limited to 'sys/net80211/ieee80211_var.h')
-rw-r--r--sys/net80211/ieee80211_var.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net80211/ieee80211_var.h b/sys/net80211/ieee80211_var.h
index f1f71296a97..ba711629a0b 100644
--- a/sys/net80211/ieee80211_var.h
+++ b/sys/net80211/ieee80211_var.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ieee80211_var.h,v 1.101 2019/11/09 13:21:04 stsp Exp $ */
+/* $OpenBSD: ieee80211_var.h,v 1.102 2020/07/15 22:49:08 cheloha Exp $ */
/* $NetBSD: ieee80211_var.h,v 1.7 2004/05/06 03:07:10 dyoung Exp $ */
/*-
@@ -320,7 +320,7 @@ struct ieee80211com {
u_int8_t ic_nonce[EAPOL_KEY_NONCE_LEN];
u_int8_t ic_psk[IEEE80211_PMK_LEN];
struct timeout ic_rsn_timeout;
- int ic_tkip_micfail;
+ time_t ic_tkip_micfail;
u_int64_t ic_tkip_micfail_last_tsc;
#ifndef IEEE80211_STA_ONLY
struct timeout ic_tkip_micfail_timeout;