hostapd: add acs feature indication
authorEnrique Giraldo <enrique.giraldo@galgus.net>
Tue, 18 Sep 2018 11:52:08 +0000 (13:52 +0200)
committerJo-Philipp Wich <jo@mein.io>
Tue, 18 Dec 2018 16:48:01 +0000 (17:48 +0100)
Signed-off-by: Enrique Giraldo <enrique.giraldo@galgus.net>
(backported from 61454a0a8cd595059efa21357ee6ff4134697e61)

package/network/services/hostapd/src/src/utils/build_features.h

index 315804361ce13aa9a8508e6d7cdae3c87a44a970..ba082dea14a445bf5aa5247ef6ecfb304fefba00 100644 (file)
@@ -22,6 +22,10 @@ static inline int has_feature(const char *feat)
 #ifdef CONFIG_IEEE80211W
        if (!strcmp(feat, "11w"))
                return 1;
+#endif
+#ifdef CONFIG_ACS
+       if (!strcmp(feat, "acs"))
+               return 1;
 #endif
        return 0;
 }