aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/mesh_rsn.c
diff options
context:
space:
mode:
authorMasashi Honma <masashi.honma@gmail.com>2015-01-22 05:22:16 (GMT)
committerJouni Malinen <j@w1.fi>2015-01-28 11:09:31 (GMT)
commit871ff0b7466a9fa62a9980deb30949e495dea095 (patch)
tree1fc5783d872b861e43a7464ed84f274c9a6fa37c /wpa_supplicant/mesh_rsn.c
parent467775c5ac05dc9bb44a8b886257b2c36c374b54 (diff)
downloadhostap-871ff0b7466a9fa62a9980deb30949e495dea095.zip
hostap-871ff0b7466a9fa62a9980deb30949e495dea095.tar.gz
hostap-871ff0b7466a9fa62a9980deb30949e495dea095.tar.bz2
mesh: Sync plink state with kernel
The plink_state exists both wpa_supplicant and kernel. Synchronize them with wpa_mesh_set_plink_state(). Signed-off-by: Kenzoh Nishikawa <Kenzoh.Nishikawa@jp.sony.com> Signed-off-by: Masashi Honma <masashi.honma@gmail.com>
Diffstat (limited to 'wpa_supplicant/mesh_rsn.c')
-rw-r--r--wpa_supplicant/mesh_rsn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wpa_supplicant/mesh_rsn.c b/wpa_supplicant/mesh_rsn.c
index aee325a..da4cb03 100644
--- a/wpa_supplicant/mesh_rsn.c
+++ b/wpa_supplicant/mesh_rsn.c
@@ -41,7 +41,7 @@ void mesh_auth_timer(void *eloop_ctx, void *user_data)
mesh_rsn_auth_sae_sta(wpa_s, sta);
} else {
/* block the STA if exceeded the number of attempts */
- sta->plink_state = PLINK_BLOCKED;
+ wpa_mesh_set_plink_state(wpa_s, sta, PLINK_BLOCKED);
sta->sae->state = SAE_NOTHING;
}
sta->sae_auth_retry++;