From fd619513d1a2514b03cbfd6774260132ef78f3bd Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Mon, 28 Jul 2014 10:36:51 +0000 Subject: [PATCH] hostapd: add missing ifdef Signed-off-by: Felix Fietkau SVN-Revision: 41855 --- .../hostapd/patches/380-disable_ctrl_iface_mib.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) 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 dee1ab322c..e491d0726a 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) -- 2.30.2