summaryrefslogtreecommitdiff
path: root/package/network
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-07-28 10:36:51 +0000
committerFelix Fietkau <nbd@openwrt.org>2014-07-28 10:36:51 +0000
commitfd619513d1a2514b03cbfd6774260132ef78f3bd (patch)
tree67278ac5a82bb247e460251a7ba5c43f9e1ca7cd /package/network
parent3836d40a8aec5ba4fe629b5c2578ebcf18c5c56e (diff)
downloadmtk-20170518-fd619513d1a2514b03cbfd6774260132ef78f3bd.zip
mtk-20170518-fd619513d1a2514b03cbfd6774260132ef78f3bd.tar.gz
mtk-20170518-fd619513d1a2514b03cbfd6774260132ef78f3bd.tar.bz2
hostapd: add missing ifdef
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 41855
Diffstat (limited to 'package/network')
-rw-r--r--package/network/services/hostapd/patches/380-disable_ctrl_iface_mib.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/network/services/hostapd/patches/380-disable_ctrl_iface_mib.patch b/package/network/services/hostapd/patches/380-disable_ctrl_iface_mib.patch
index dee1ab3..e491d07 100644
--- a/package/network/services/hostapd/patches/380-disable_ctrl_iface_mib.patch
+++ b/package/network/services/hostapd/patches/380-disable_ctrl_iface_mib.patch
@@ -153,3 +153,14 @@
#endif /* CONFIG_CTRL_IFACE */
+--- a/wpa_supplicant/ap.c
++++ b/wpa_supplicant/ap.c
+@@ -984,7 +984,7 @@ int wpas_ap_wps_nfc_report_handover(stru
+ #endif /* CONFIG_WPS */
+
+
+-#ifdef CONFIG_CTRL_IFACE
++#if defined(CONFIG_CTRL_IFACE) && defined(CONFIG_CTRL_IFACE_MIB)
+
+ int ap_ctrl_iface_sta_first(struct wpa_supplicant *wpa_s,
+ char *buf, size_t buflen)