]> git.ipfire.org Git - thirdparty/hostap.git/commit
wpa_supplicant: Use relative time for TKIP Michael MIC failures
authorJohannes Berg <johannes.berg@intel.com>
Mon, 16 Dec 2013 20:08:42 +0000 (21:08 +0100)
committerJouni Malinen <j@w1.fi>
Tue, 24 Dec 2013 06:18:47 +0000 (08:18 +0200)
commit6473e5c842e9c541c7bb96ea59611b56b15ea157
tree006fd8aa51de96c9f012352482124cdceb40bfec
parent4e1eae1dff54295d5d8036f8aeb4d84fbd38f7fa
wpa_supplicant: Use relative time for TKIP Michael MIC failures

The MMIC failure code should use monotonic time to check
whether 60 seconds have elapsed or not. For type-safety,
use struct os_reltime for the timestamp variable, and
also convert to using os_reltime_expired().

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