diff options
Diffstat (limited to 'package/network/services/hostapd/patches/110-no_eapol_fix.patch')
-rw-r--r-- | package/network/services/hostapd/patches/110-no_eapol_fix.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/package/network/services/hostapd/patches/110-no_eapol_fix.patch b/package/network/services/hostapd/patches/110-no_eapol_fix.patch new file mode 100644 index 0000000000..5aee3d07f1 --- /dev/null +++ b/package/network/services/hostapd/patches/110-no_eapol_fix.patch @@ -0,0 +1,14 @@ +--- a/wpa_supplicant/wpa_supplicant.c ++++ b/wpa_supplicant/wpa_supplicant.c +@@ -257,9 +257,10 @@ void wpa_supplicant_cancel_auth_timeout( + */ + void wpa_supplicant_initiate_eapol(struct wpa_supplicant *wpa_s) + { ++ struct wpa_ssid *ssid = wpa_s->current_ssid; ++ + #ifdef IEEE8021X_EAPOL + struct eapol_config eapol_conf; +- struct wpa_ssid *ssid = wpa_s->current_ssid; + + #ifdef CONFIG_IBSS_RSN + if (ssid->mode == WPAS_MODE_IBSS && |