aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/mesh_rsn.c
diff options
context:
space:
mode:
authorMasashi Honma <masashi.honma@gmail.com>2015-02-05 14:00:00 (GMT)
committerJouni Malinen <j@w1.fi>2015-02-07 20:33:23 (GMT)
commit79ddb2062eb2b53937c2c578e56532021cbb8564 (patch)
tree3e1fc144906ff98883525663fae3682ec91f763f /wpa_supplicant/mesh_rsn.c
parentdd2cbafc89c3b879760b932fd7a7d726e01f9b27 (diff)
downloadhostap-79ddb2062eb2b53937c2c578e56532021cbb8564.zip
hostap-79ddb2062eb2b53937c2c578e56532021cbb8564.tar.gz
hostap-79ddb2062eb2b53937c2c578e56532021cbb8564.tar.bz2
mesh: Add a monitor event on SAE authentication getting blocked
Send MESH-SAE-AUTH-BLOCKED event if SAE authentication is blocked. The BLOCK state will finish when a new peer notification event is sent for the same MAC address. Signed-off-by: Masashi Honma <masashi.honma@gmail.com>
Diffstat (limited to 'wpa_supplicant/mesh_rsn.c')
-rw-r--r--wpa_supplicant/mesh_rsn.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/wpa_supplicant/mesh_rsn.c b/wpa_supplicant/mesh_rsn.c
index d42502c..d5cf7a9 100644
--- a/wpa_supplicant/mesh_rsn.c
+++ b/wpa_supplicant/mesh_rsn.c
@@ -45,6 +45,9 @@ void mesh_auth_timer(void *eloop_ctx, void *user_data)
/* block the STA if exceeded the number of attempts */
wpa_mesh_set_plink_state(wpa_s, sta, PLINK_BLOCKED);
sta->sae->state = SAE_NOTHING;
+ wpa_msg(wpa_s, MSG_INFO, MESH_SAE_AUTH_BLOCKED "addr="
+ MACSTR,
+ MAC2STR(sta->addr));
}
sta->sae_auth_retry++;
}