hostapd: enable compilation of OCV and add build feature discovery
[openwrt/openwrt.git] / package / network / services / hostapd / src / src / utils / build_features.h
index cb7cb7273168d8124cfbf164beb84c704b32634a..642a35836e4e547b6b8b1b9e943d69832a63aa12 100644 (file)
@@ -54,6 +54,10 @@ static inline int has_feature(const char *feat)
 #ifdef CONFIG_FILS
        if (!strcmp(feat, "fils"))
                return 1;
+#endif
+#ifdef CONFIG_OCV
+       if (!strcmp(feat, "ocv"))
+               return 1;
 #endif
        return 0;
 }