summaryrefslogtreecommitdiff
path: root/package/hostapd/patches/360-fix_ctrl_iface.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-11-04 01:05:26 +0000
committerFelix Fietkau <nbd@openwrt.org>2011-11-04 01:05:26 +0000
commitc8321c3ca6de1dc1767c90afbe73afc822fb0194 (patch)
tree09bf221f53d3708d737f4b3330c8e02e17f4760d /package/hostapd/patches/360-fix_ctrl_iface.patch
parentdab5ebaa76d6432459ba6e26ab22600ed85dd3e4 (diff)
downloadmtk-20170518-c8321c3ca6de1dc1767c90afbe73afc822fb0194.zip
mtk-20170518-c8321c3ca6de1dc1767c90afbe73afc822fb0194.tar.gz
mtk-20170518-c8321c3ca6de1dc1767c90afbe73afc822fb0194.tar.bz2
hostapd: update to latest git version
SVN-Revision: 28746
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 0000000..a8b3f91
--- /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,