hostapd: add missing ifdef
authorFelix Fietkau <nbd@openwrt.org>
Mon, 28 Jul 2014 10:36:51 +0000 (10:36 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Mon, 28 Jul 2014 10:36:51 +0000 (10:36 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 41855

package/network/services/hostapd/patches/380-disable_ctrl_iface_mib.patch

index dee1ab322ca9cbd893caed6aabbbdf310f55867f..e491d0726a6bc87b302091ae7a82270fe27c9421 100644 (file)
  #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)