diff options
author | Felix Fietkau <nbd@openwrt.org> | 2014-07-28 10:36:51 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2014-07-28 10:36:51 +0000 |
commit | b5a1ebe6df0b4591581aa7597c87a7277726a349 (patch) | |
tree | 8278220e0fa317dc376966ab876f357ae6092bad /package/network/services | |
parent | e6653d50fb83c9f522b2f4d819dbb5d3ebe481cd (diff) | |
download | upstream-b5a1ebe6df0b4591581aa7597c87a7277726a349.tar.gz upstream-b5a1ebe6df0b4591581aa7597c87a7277726a349.tar.bz2 upstream-b5a1ebe6df0b4591581aa7597c87a7277726a349.zip |
hostapd: add missing ifdef
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41855 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/network/services')
-rw-r--r-- | package/network/services/hostapd/patches/380-disable_ctrl_iface_mib.patch | 11 |
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 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) |