[PATCH 11/12] mesh: Send peering open frame again if beacon from listen state peer is received

Masashi Honma masashi.honma
Wed Nov 5 18:48:16 PST 2014


2014-11-05 22:09 GMT+09:00 Bob Copeland <me at bobcopeland.com>:
> I fixed a similar problem with authsae here:
> https://github.com/cozybit/authsae/commit/295164a83717ce59ca280468fc2f7edcea6b3cbf

Great!

I could fix this problem by adding one line based on your idea.
Thank you !

diff --git a/wpa_supplicant/mesh_rsn.c b/wpa_supplicant/mesh_rsn.c
index 94dbfd1..06e3e07 100644
--- a/wpa_supplicant/mesh_rsn.c
+++ b/wpa_supplicant/mesh_rsn.c
@@ -37,6 +37,9 @@ void mesh_auth_timer(void *eloop_ctx, void *user_data)
                " (attempt %d) ",
                MAC2STR(sta->addr), sta->sae_auth_retry);
         if (sta->sae_auth_retry < MESH_AUTH_RETRY) {
+            if (wpa_drv_sta_remove(wpa_s, sta->addr) < 0)
+                wpa_printf(MSG_ERROR, "AUTH: Failed to remove "
+                       "STA " MACSTR, MAC2STR(sta->addr));
             mesh_rsn_auth_sae_sta(wpa_s, sta);
         } else {
             /* block the STA if exceeded the number of attempts */



More information about the Hostap mailing list