From: Enrique Giraldo <enrique.giraldo@galgus.net>
Date: Tue, 18 Sep 2018 11:52:08 +0000 (+0200)
Subject: hostapd: add acs feature indication
X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=61454a0a8cd595059efa21357ee6ff4134697e61;p=openwrt%2Fstaging%2Fansuel.git

hostapd: add acs feature indication

Signed-off-by: Enrique Giraldo <enrique.giraldo@galgus.net>
---

diff --git a/package/network/services/hostapd/src/src/utils/build_features.h b/package/network/services/hostapd/src/src/utils/build_features.h
index 315804361c..ba082dea14 100644
--- a/package/network/services/hostapd/src/src/utils/build_features.h
+++ b/package/network/services/hostapd/src/src/utils/build_features.h
@@ -22,6 +22,10 @@ static inline int has_feature(const char *feat)
 #ifdef CONFIG_IEEE80211W
 	if (!strcmp(feat, "11w"))
 		return 1;
+#endif
+#ifdef CONFIG_ACS
+	if (!strcmp(feat, "acs"))
+		return 1;
 #endif
 	return 0;
 }