]> git.ipfire.org Git - thirdparty/hostap.git/commit
mesh: Use appropriate BLOCKED state duration
authorMasashi Honma <masashi.honma@gmail.com>
Fri, 11 Mar 2016 08:37:25 +0000 (17:37 +0900)
committerJouni Malinen <j@w1.fi>
Sun, 20 Mar 2016 16:24:29 +0000 (18:24 +0200)
commitd774c46aae9569713e1e7c69923fed788eeedac5
tree4677a84060037808382b218804113b5fe6819f47
parent5a34d359cd8f8863baf04cf647250a2932a2e3a4
mesh: Use appropriate BLOCKED state duration

Previously, BLOCKED state duration slightly increased up to 3600. Though
the BLOCKED state could be canceled by ap_handle_timer(). Because the
timer timeouts in ap_max_inactivity(default=300sec) and remove STA
objects (the object retains BLOCKED state).

This patch re-designs my commit bf51f4f82bdb50356de5501acac53fe1b91a7b86
('mesh: Fix remaining BLOCKED state after SAE auth failure') to replace
mesh_auth_block_duration by ap_max_inactivity and remove incremental
duration.

Signed-off-by: Masashi Honma <masashi.honma@gmail.com>
wpa_supplicant/mesh_rsn.c
wpa_supplicant/wpa_supplicant_i.h