Maintain a pointer to the current BSS table entry
[mech_eap.git] / wpa_supplicant / sme.c
index 5ed95eb..580ed2a 100644 (file)
@@ -47,6 +47,8 @@ void sme_authenticate(struct wpa_supplicant *wpa_s,
                return;
        }
 
+       wpa_s->current_bss = bss;
+
        os_memset(&params, 0, sizeof(params));
        wpa_s->reassociate = 0;