aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/services/hostapd/src
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2020-09-08 20:00:05 +0100
committerDaniel Golle <daniel@makrotopia.org>2020-09-08 20:04:14 +0100
commitbe9694aaa29787d0bfb270ad5d8b7af9c9088c77 (patch)
tree1a0ece4afe6d07e74dcbbc28517ddd030302e8e6 /package/network/services/hostapd/src
parent7ed34f65d0333bd65d82383813986161c8294ed4 (diff)
downloadupstream-be9694aaa29787d0bfb270ad5d8b7af9c9088c77.tar.gz
upstream-be9694aaa29787d0bfb270ad5d8b7af9c9088c77.tar.bz2
upstream-be9694aaa29787d0bfb270ad5d8b7af9c9088c77.zip
hostapd: add UCI support for Hotspot 2.0
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Diffstat (limited to 'package/network/services/hostapd/src')
-rw-r--r--package/network/services/hostapd/src/src/utils/build_features.h4
1 files changed, 4 insertions, 0 deletions
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 35356b2323..9856756d95 100644
--- a/package/network/services/hostapd/src/src/utils/build_features.h
+++ b/package/network/services/hostapd/src/src/utils/build_features.h
@@ -47,6 +47,10 @@ static inline int has_feature(const char *feat)
if (!strcmp(feat, "wep"))
return 1;
#endif
+#ifdef CONFIG_HS20
+ if (!strcmp(feat, "hs20"))
+ return 1;
+#endif
return 0;
}