PMK caching issue

Dmitry Shmidt dimitrysh
Thu Feb 24 18:16:31 PST 2011


Hello,

Long time ago for Wifi certification (to fix 5.5.2 PMK Caching issue)
I needed to apply this patch to wpa_supplicant:
---------------------------------------------------------------------------------------------------------
diff --git a/events.c b/events.c
index 76e509d..bb5be64 100644
--- a/events.c
+++ b/events.c
@@ -661,9 +661,9 @@ static void wpa_supplicant_event_associnfo(struct wpa_suppli
                p += len;
        }

-       if (!wpa_found && data->assoc_info.beacon_ies)
+       if (!wpa_found)
                wpa_sm_set_ap_wpa_ie(wpa_s->wpa, NULL, 0);
-       if (!rsn_found && data->assoc_info.beacon_ies)
+       if (!rsn_found)
                wpa_sm_set_ap_rsn_ie(wpa_s->wpa, NULL, 0);
 }
---------------------------------------------------------------------------------------------------------

Can you please comment why having "data->assoc_info.beacon_ies" is
still necessary ?

Thanks,

Dmitry



More information about the Hostap mailing list