summaryrefslogtreecommitdiffstats
path: root/package/hostapd/patches/360-fix_ctrl_iface.patch
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-11-04 01:05:26 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-11-04 01:05:26 +0000
commitaaca845659c047aadcb6ffc473ab3b69f78b0707 (patch)
tree649d9dffdfa781edf0a24cb605c353a044fe2c67 /package/hostapd/patches/360-fix_ctrl_iface.patch
parentd802b2e8f350a00aa9e2c1c116df22943cab1ead (diff)
hostapd: update to latest git version
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28746 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/hostapd/patches/360-fix_ctrl_iface.patch')
-rw-r--r--package/hostapd/patches/360-fix_ctrl_iface.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/package/hostapd/patches/360-fix_ctrl_iface.patch b/package/hostapd/patches/360-fix_ctrl_iface.patch
new file mode 100644
index 000000000..a8b3f911f
--- /dev/null
+++ b/package/hostapd/patches/360-fix_ctrl_iface.patch
@@ -0,0 +1,18 @@
+--- a/wpa_supplicant/ctrl_iface.c
++++ b/wpa_supplicant/ctrl_iface.c
+@@ -685,6 +685,7 @@ static int wpa_supplicant_ctrl_iface_ibs
+ #endif /* CONFIG_IBSS_RSN */
+
+
++#ifdef IEEE8021X_EAPOL
+ int wpa_supplicant_ctrl_iface_ctrl_rsp_handle(struct wpa_supplicant *wpa_s,
+ struct wpa_ssid *ssid,
+ const char *field,
+@@ -750,6 +751,7 @@ int wpa_supplicant_ctrl_iface_ctrl_rsp_h
+
+ return 0;
+ }
++#endif
+
+
+ static int wpa_supplicant_ctrl_iface_ctrl_rsp(struct wpa_supplicant *wpa_s,