aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/services/hostapd
diff options
context:
space:
mode:
authorEnrique Giraldo <enrique.giraldo@galgus.net>2018-09-18 13:52:08 +0200
committerHauke Mehrtens <hauke@hauke-m.de>2018-09-29 17:23:11 +0200
commit61454a0a8cd595059efa21357ee6ff4134697e61 (patch)
tree536a7977ccf89c2773d009dc0f99423a49d364c6 /package/network/services/hostapd
parent92aa21497b22bcf03862cf9da8e89ef007affebd (diff)
downloadupstream-61454a0a8cd595059efa21357ee6ff4134697e61.tar.gz
upstream-61454a0a8cd595059efa21357ee6ff4134697e61.tar.bz2
upstream-61454a0a8cd595059efa21357ee6ff4134697e61.zip
hostapd: add acs feature indication
Signed-off-by: Enrique Giraldo <enrique.giraldo@galgus.net>
Diffstat (limited to 'package/network/services/hostapd')
-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 315804361c..ba082dea14 100644
--- a/package/network/services/hostapd/src/src/utils/build_features.h
+++ b/package/network/services/hostapd/src/src/utils/build_features.h
@@ -23,6 +23,10 @@ static inline int has_feature(const char *feat)
if (!strcmp(feat, "11w"))
return 1;
#endif
+#ifdef CONFIG_ACS
+ if (!strcmp(feat, "acs"))
+ return 1;
+#endif
return 0;
}