HS 2.0R2: Fix temporary network disabling in Deauth Req case
authorJouni Malinen <jouni@qca.qualcomm.com>
Thu, 27 Feb 2014 22:29:34 +0000 (00:29 +0200)
committerJouni Malinen <j@w1.fi>
Thu, 27 Feb 2014 22:29:34 +0000 (00:29 +0200)
commit06c7b7f0b5f4deed675a7b81e33830311da7339a
treef92bc033c1509a67e861f0604630352a41f35088
parentcfa57df68de6d3a42da38e4b7207adb710c420a3
HS 2.0R2: Fix temporary network disabling in Deauth Req case

Commits 7ef6947993d4b09dea6797b96f34dbcfed57d90e and
533536d82ac63512c31ff0bae403d437392d34e0 added this temporarily
disabling case, but those commits were merged in without having been
converted to the new os_reltime design used for ssid->disabled_until.
Consequently, they ended up disabling the network for 44 years or so too
long time (depending on what values the relative timestamp had
accummulated so far). Fix this by using relative timestamps
consistently.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
wpa_supplicant/hs20_supplicant.c