hostapd: add WEP as queryable build feature
[openwrt/openwrt.git] / package / network / services / hostapd / src / src / utils / build_features.h
index abebecb570ba7fe810c668f7dca6675019303be1..b28ff6fa9f548dfffcc9166911861bdb943c97d7 100644 (file)
@@ -38,6 +38,10 @@ static inline int has_feature(const char *feat)
 #ifdef CONFIG_SUITEB192
        if (!strcmp(feat, "suiteb192"))
                return 1;
+#endif
+#ifdef CONFIG_WEP
+       if (!strcmp(feat, "wep"))
+               return 1;
 #endif
        return 0;
 }