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 | 7c3630cd52232a69ed2d7c84b03b62eb869d5a2a (patch) | |
tree | 21efe378c48417430acb85a3234528004f63d2ae /package/network/services/hostapd/patches/130-no_eapol_fix.patch | |
parent | b7f384e7657a927e844639b4ffbc0abd18a469d0 (diff) | |
download | master-187ad058-7c3630cd52232a69ed2d7c84b03b62eb869d5a2a.tar.gz master-187ad058-7c3630cd52232a69ed2d7c84b03b62eb869d5a2a.tar.bz2 master-187ad058-7c3630cd52232a69ed2d7c84b03b62eb869d5a2a.zip |
hostapd: fix wpad-mini compile error (#16700)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41023 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 0000000000..3c19cb3cc4 --- /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 && |