summaryrefslogtreecommitdiffstats
path: root/package/hostapd/patches/370-non_eapol_port_fix.patch
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-11-09 01:36:36 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-11-09 01:36:36 +0000
commitacbc4c5f9530b1e9ef782baaf33c72bd7d775c1b (patch)
tree4eef31c26fcc6e6f251cb7bc2b3da3cd20927dd6 /package/hostapd/patches/370-non_eapol_port_fix.patch
parent929a8c4e3fdbc1763a917e2b698396fc694f3470 (diff)
hostapd: update to 20101109, reorganize patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23932 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/hostapd/patches/370-non_eapol_port_fix.patch')
-rw-r--r--package/hostapd/patches/370-non_eapol_port_fix.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/package/hostapd/patches/370-non_eapol_port_fix.patch b/package/hostapd/patches/370-non_eapol_port_fix.patch
new file mode 100644
index 000000000..56e5b3381
--- /dev/null
+++ b/package/hostapd/patches/370-non_eapol_port_fix.patch
@@ -0,0 +1,22 @@
+--- a/wpa_supplicant/wpa_supplicant.c
++++ b/wpa_supplicant/wpa_supplicant.c
+@@ -550,6 +550,9 @@ void wpa_supplicant_set_state(struct wpa
+ wpa_s->new_connection = 0;
+ wpa_s->reassociated_connection = 1;
+ wpa_drv_set_operstate(wpa_s, 1);
++#ifndef IEEE8021X_EAPOL
++ wpa_drv_set_supp_port(wpa_s, 1);
++#endif
+ wpa_s->after_wps = 0;
+ #ifdef CONFIG_P2P
+ wpas_p2p_completed(wpa_s);
+@@ -558,6 +561,9 @@ void wpa_supplicant_set_state(struct wpa
+ state == WPA_ASSOCIATED) {
+ wpa_s->new_connection = 1;
+ wpa_drv_set_operstate(wpa_s, 0);
++#ifndef IEEE8021X_EAPOL
++ wpa_drv_set_supp_port(wpa_s, 0);
++#endif
+ }
+ wpa_s->wpa_state = state;
+