diff options
author | Felix Fietkau <nbd@openwrt.org> | 2014-06-05 21:14:02 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2014-06-05 21:14:02 +0000 |
commit | 53fa9374c246f105df82fe42586a7c5dd41f33a7 (patch) | |
tree | e9d29fe3d34f164dc048c9b8e140d627c5c8599d /package/network/services/hostapd/patches/130-no_eapol_fix.patch | |
parent | 5758b210e3ae37fe949a528281746cdab33b3138 (diff) | |
download | mtk-20170518-53fa9374c246f105df82fe42586a7c5dd41f33a7.zip mtk-20170518-53fa9374c246f105df82fe42586a7c5dd41f33a7.tar.gz mtk-20170518-53fa9374c246f105df82fe42586a7c5dd41f33a7.tar.bz2 |
hostapd: fix wpad-mini compile error (#16700)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 41023
Diffstat (limited to 'package/network/services/hostapd/patches/130-no_eapol_fix.patch')
-rw-r--r-- | package/network/services/hostapd/patches/130-no_eapol_fix.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/package/network/services/hostapd/patches/130-no_eapol_fix.patch b/package/network/services/hostapd/patches/130-no_eapol_fix.patch new file mode 100644 index 0000000..3c19cb3 --- /dev/null +++ b/package/network/services/hostapd/patches/130-no_eapol_fix.patch @@ -0,0 +1,14 @@ +--- a/wpa_supplicant/wpa_supplicant.c ++++ b/wpa_supplicant/wpa_supplicant.c +@@ -247,9 +247,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 && |