projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
hostapd: ubus: add handler for wps_status and guard WPS calls
[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 9856756d9543add8b9bcc79af987797bd163aec7..7ca65fa39141df29211528bc39cbf9c7bc1a832f 100644
(file)
--- a/
package/network/services/hostapd/src/src/utils/build_features.h
+++ b/
package/network/services/hostapd/src/src/utils/build_features.h
@@
-50,6
+50,10
@@
static inline int has_feature(const char *feat)
#ifdef CONFIG_HS20
if (!strcmp(feat, "hs20"))
return 1;
+#endif
+#ifdef CONFIG_WPS
+ if (!strcmp(feat, "wps"))
+ return 1;
#endif
return 0;
}