X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=package%2Fnetwork%2Fservices%2Fhostapd%2Fsrc%2Fsrc%2Futils%2Fbuild_features.h;h=7ca65fa39141df29211528bc39cbf9c7bc1a832f;hb=63e2e086bea2280fee47385e172d09e4eb86fc78;hp=9856756d9543add8b9bcc79af987797bd163aec7;hpb=5666ca913a879e499dabb7364fff5e080abe8819;p=openwrt%2Fopenwrt.git 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 9856756d95..7ca65fa391 100644 --- 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; }