summaryrefslogtreecommitdiff
path: root/contrib/wpa/src/ap/acs.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/wpa/src/ap/acs.h')
-rw-r--r--contrib/wpa/src/ap/acs.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/contrib/wpa/src/ap/acs.h b/contrib/wpa/src/ap/acs.h
index fc85259e85d5..ec84f0ee97f3 100644
--- a/contrib/wpa/src/ap/acs.h
+++ b/contrib/wpa/src/ap/acs.h
@@ -13,6 +13,7 @@
#ifdef CONFIG_ACS
enum hostapd_chan_status acs_init(struct hostapd_iface *iface);
+void acs_cleanup(struct hostapd_iface *iface);
#else /* CONFIG_ACS */
@@ -22,6 +23,10 @@ static inline enum hostapd_chan_status acs_init(struct hostapd_iface *iface)
return HOSTAPD_CHAN_INVALID;
}
+static inline void acs_cleanup(struct hostapd_iface *iface)
+{
+}
+
#endif /* CONFIG_ACS */
#endif /* ACS_H */