110-no_eapol_fix.patch 430 B

1234567891011121314
  1. --- a/wpa_supplicant/wpa_supplicant.c
  2. +++ b/wpa_supplicant/wpa_supplicant.c
  3. @@ -259,9 +259,10 @@ void wpa_supplicant_cancel_auth_timeout(
  4. */
  5. void wpa_supplicant_initiate_eapol(struct wpa_supplicant *wpa_s)
  6. {
  7. + struct wpa_ssid *ssid = wpa_s->current_ssid;
  8. +
  9. #ifdef IEEE8021X_EAPOL
  10. struct eapol_config eapol_conf;
  11. - struct wpa_ssid *ssid = wpa_s->current_ssid;
  12. #ifdef CONFIG_IBSS_RSN
  13. if (ssid->mode == WPAS_MODE_IBSS &&