projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
hostapd: Activate Opportunistic Wireless Encryption (OWE)
[openwrt/openwrt.git]
/
package
/
network
/
services
/
hostapd
/
src
/
src
/
utils
/
build_features.h
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 315804361ce13aa9a8508e6d7cdae3c87a44a970..4013ae7b308d0137bdc9648f2723a11cfc9cf5e6 100644
(file)
--- 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,18
@@
static inline int has_feature(const char *feat)
#ifdef CONFIG_IEEE80211W
if (!strcmp(feat, "11w"))
return 1;
#ifdef CONFIG_IEEE80211W
if (!strcmp(feat, "11w"))
return 1;
+#endif
+#ifdef CONFIG_ACS
+ if (!strcmp(feat, "acs"))
+ return 1;
+#endif
+#ifdef CONFIG_SAE
+ if (!strcmp(feat, "sae"))
+ return 1;
+#endif
+#ifdef CONFIG_OWE
+ if (!strcmp(feat, "owe"))
+ return 1;
#endif
return 0;
}
#endif
return 0;
}