hostapd: add acs feature indication
[openwrt/openwrt.git] / package / network / services / hostapd / src / src / utils / build_features.h
index 315804361ce13aa9a8508e6d7cdae3c87a44a970..ba082dea14a445bf5aa5247ef6ecfb304fefba00 100644 (file)
@@ -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;
 }