hostapd: add UCI support for Hotspot 2.0
[openwrt/openwrt.git] / package / network / services / hostapd / src / src / utils / build_features.h
index 35356b2323a80cf2c28ef80435a2114f791d1200..9856756d9543add8b9bcc79af987797bd163aec7 100644 (file)
@@ -46,6 +46,10 @@ static inline int has_feature(const char *feat)
 #ifdef CONFIG_WEP
        if (!strcmp(feat, "wep"))
                return 1;
+#endif
+#ifdef CONFIG_HS20
+       if (!strcmp(feat, "hs20"))
+               return 1;
 #endif
        return 0;
 }